Struct zcash_address::unified::Address
source · [−]pub struct Address(_);
Expand description
A Unified Address.
Trait Implementations
sourceimpl Container for Address
impl Container for Address
sourceimpl Encoding for Address
impl Encoding for Address
sourcefn try_from_items(items: Vec<Self::Item>) -> Result<Self, ParseError>
fn try_from_items(items: Vec<Self::Item>) -> Result<Self, ParseError>
Constructs a value of a unified container type from a vector of container items, sorted according to typecode as specified in ZIP 316. Read more
sourcefn decode(s: &str) -> Result<(Network, Self), ParseError>
fn decode(s: &str) -> Result<(Network, Self), ParseError>
Decodes a unified container from its string representation, preserving the order of its components so that it correctly obeys round-trip serialization invariants. Read more
sourcefn encode(&self, network: &Network) -> String
fn encode(&self, network: &Network) -> String
Encodes the contents of the unified container to its string representation using the correct constants for the specified network, preserving the ordering of the contained items such that it correctly obeys round-trip serialization invariants. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more