Struct cfx_types::AddressWithSpace
source · pub struct AddressWithSpace {
pub address: Address,
pub space: Space,
}
Fields§
§address: Address
§space: Space
Implementations§
source§impl AddressWithSpace
impl AddressWithSpace
pub fn assert_native(&self)
Trait Implementations§
source§impl Clone for AddressWithSpace
impl Clone for AddressWithSpace
source§fn clone(&self) -> AddressWithSpace
fn clone(&self) -> AddressWithSpace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddressWithSpace
impl Debug for AddressWithSpace
source§impl Default for AddressWithSpace
impl Default for AddressWithSpace
source§fn default() -> AddressWithSpace
fn default() -> AddressWithSpace
Returns the “default value” for a type. Read more
source§impl Hash for AddressWithSpace
impl Hash for AddressWithSpace
source§impl Ord for AddressWithSpace
impl Ord for AddressWithSpace
source§fn cmp(&self, other: &AddressWithSpace) -> Ordering
fn cmp(&self, other: &AddressWithSpace) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AddressWithSpace
impl PartialEq for AddressWithSpace
source§fn eq(&self, other: &AddressWithSpace) -> bool
fn eq(&self, other: &AddressWithSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AddressWithSpace
impl PartialOrd for AddressWithSpace
source§fn partial_cmp(&self, other: &AddressWithSpace) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressWithSpace) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AddressWithSpace
impl Eq for AddressWithSpace
impl StructuralPartialEq for AddressWithSpace
Auto Trait Implementations§
impl RefUnwindSafe for AddressWithSpace
impl Send for AddressWithSpace
impl Sync for AddressWithSpace
impl Unpin for AddressWithSpace
impl UnwindSafe for AddressWithSpace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more