pub struct Address { /* private fields */ }Implementations§
source§impl Address
impl Address
pub fn new(network: NetworkType, payload: AddressPayload, is_new: bool) -> Address
sourcepub fn network(&self) -> NetworkType
pub fn network(&self) -> NetworkType
The network type of current address
sourcepub fn payload(&self) -> &AddressPayload
pub fn payload(&self) -> &AddressPayload
The address payload
Trait Implementations§
source§impl PartialEq<Address> for Address
impl PartialEq<Address> for Address
impl Eq for Address
impl StructuralEq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.