pub struct Address<'a> {
pub info: Option<CoinInfo>,
pub kind: Option<AddressKind>,
pub data: &'a [u8],
}Expand description
A cryptocurrency address.
Fields§
§info: Option<CoinInfo>Coin information.
kind: Option<AddressKind>Address type if applicable.
data: &'a [u8]The address data.
Implementations§
Trait Implementations§
Source§impl<'a> TryFrom<&'a Address<NetworkUnchecked>> for Address<'a>
Available on crate feature bitcoin only.
impl<'a> TryFrom<&'a Address<NetworkUnchecked>> for Address<'a>
Available on crate feature
bitcoin only.impl<'a> Eq for Address<'a>
impl<'a> StructuralPartialEq for Address<'a>
Auto Trait Implementations§
impl<'a> Freeze for Address<'a>
impl<'a> RefUnwindSafe for Address<'a>
impl<'a> Send for Address<'a>
impl<'a> Sync for Address<'a>
impl<'a> Unpin for Address<'a>
impl<'a> UnwindSafe for Address<'a>
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