Struct zcash_address::unified::Ufvk
source · [−]pub struct Ufvk(_);
Expand description
A Unified Full Viewing Key.
Trait Implementations
sourceimpl Container for Ufvk
impl Container for Ufvk
sourcefn items_as_parsed(&self) -> &[Fvk]
fn items_as_parsed(&self) -> &[Fvk]
Returns the FVKs contained within this UFVK, in the order they were parsed from the string encoding.
This API is for advanced usage; in most cases you should use Ufvk::receivers
.
sourceimpl Encoding for Ufvk
impl Encoding for Ufvk
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 Ufvk
impl StructuralEq for Ufvk
impl StructuralPartialEq for Ufvk
Auto Trait Implementations
impl RefUnwindSafe for Ufvk
impl Send for Ufvk
impl Sync for Ufvk
impl Unpin for Ufvk
impl UnwindSafe for Ufvk
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