Struct ckb_client::address::Address
source · 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 for Address
impl PartialEq for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl !Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.