Struct psbt::ProprietaryKeyDescriptor
source · pub struct ProprietaryKeyDescriptor {
pub location: ProprietaryKeyLocation,
pub ty: ProprietaryKeyType,
pub key: Option<Vec<u8>>,
pub value: Option<Vec<u8>>,
}
Fields§
§location: ProprietaryKeyLocation
§ty: ProprietaryKeyType
§key: Option<Vec<u8>>
§value: Option<Vec<u8>>
Trait Implementations§
source§impl Clone for ProprietaryKeyDescriptor
impl Clone for ProprietaryKeyDescriptor
source§fn clone(&self) -> ProprietaryKeyDescriptor
fn clone(&self) -> ProprietaryKeyDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProprietaryKeyDescriptor
impl Debug for ProprietaryKeyDescriptor
source§impl Display for ProprietaryKeyDescriptor
impl Display for ProprietaryKeyDescriptor
source§impl From<&ProprietaryKeyDescriptor> for ProprietaryKey
impl From<&ProprietaryKeyDescriptor> for ProprietaryKey
source§fn from(key: &ProprietaryKeyDescriptor) -> Self
fn from(key: &ProprietaryKeyDescriptor) -> Self
Converts to this type from the input type.
source§impl From<ProprietaryKeyDescriptor> for ProprietaryKey
impl From<ProprietaryKeyDescriptor> for ProprietaryKey
source§fn from(key: ProprietaryKeyDescriptor) -> Self
fn from(key: ProprietaryKeyDescriptor) -> Self
Converts to this type from the input type.
source§impl FromStr for ProprietaryKeyDescriptor
impl FromStr for ProprietaryKeyDescriptor
source§impl Hash for ProprietaryKeyDescriptor
impl Hash for ProprietaryKeyDescriptor
source§impl Ord for ProprietaryKeyDescriptor
impl Ord for ProprietaryKeyDescriptor
source§fn cmp(&self, other: &ProprietaryKeyDescriptor) -> Ordering
fn cmp(&self, other: &ProprietaryKeyDescriptor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ProprietaryKeyDescriptor
impl PartialEq for ProprietaryKeyDescriptor
source§fn eq(&self, other: &ProprietaryKeyDescriptor) -> bool
fn eq(&self, other: &ProprietaryKeyDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProprietaryKeyDescriptor
impl PartialOrd for ProprietaryKeyDescriptor
source§fn partial_cmp(&self, other: &ProprietaryKeyDescriptor) -> Option<Ordering>
fn partial_cmp(&self, other: &ProprietaryKeyDescriptor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ProprietaryKeyDescriptor
impl StructuralPartialEq for ProprietaryKeyDescriptor
Auto Trait Implementations§
impl Freeze for ProprietaryKeyDescriptor
impl RefUnwindSafe for ProprietaryKeyDescriptor
impl Send for ProprietaryKeyDescriptor
impl Sync for ProprietaryKeyDescriptor
impl Unpin for ProprietaryKeyDescriptor
impl UnwindSafe for ProprietaryKeyDescriptor
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