Struct zcash_address::unified::Uivk
source · [−]pub struct Uivk(_);
Expand description
A Unified Incoming Viewing Key.
Trait Implementations
sourceimpl Container for Uivk
impl Container for Uivk
sourcefn items_as_parsed(&self) -> &[Ivk]
fn items_as_parsed(&self) -> &[Ivk]
Returns the IVKs contained within this UIVK, in the order they were parsed from the string encoding.
This API is for advanced usage; in most cases you should use Uivk::items
.
sourceimpl Encoding for Uivk
impl Encoding for Uivk
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 Uivk
impl StructuralEq for Uivk
impl StructuralPartialEq for Uivk
Auto Trait Implementations
impl RefUnwindSafe for Uivk
impl Send for Uivk
impl Sync for Uivk
impl Unpin for Uivk
impl UnwindSafe for Uivk
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more