pub enum P2shItemKind {
FullViewing,
IncomingViewing,
}Expand description
The kinds of unified viewing key container in which a P2SH viewing key item can occur, determining the multipath notation its descriptor template must use.
Variants§
FullViewing
An item in a Unified Full Viewing Key, whose descriptor template must use the
/** multipath notation for each key placeholder.
IncomingViewing
An item in a Unified Incoming Viewing Key, whose descriptor template must use the
/* notation for each key placeholder.
Trait Implementations§
Source§impl Clone for P2shItemKind
impl Clone for P2shItemKind
Source§fn clone(&self) -> P2shItemKind
fn clone(&self) -> P2shItemKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for P2shItemKind
Source§impl Debug for P2shItemKind
impl Debug for P2shItemKind
impl Eq for P2shItemKind
Source§impl Hash for P2shItemKind
impl Hash for P2shItemKind
Source§impl PartialEq for P2shItemKind
impl PartialEq for P2shItemKind
impl StructuralPartialEq for P2shItemKind
Auto Trait Implementations§
impl Freeze for P2shItemKind
impl RefUnwindSafe for P2shItemKind
impl Send for P2shItemKind
impl Sync for P2shItemKind
impl Unpin for P2shItemKind
impl UnsafeUnpin for P2shItemKind
impl UnwindSafe for P2shItemKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more