Struct psbt::ProprietaryKeyType
source · pub struct ProprietaryKeyType {
pub prefix: String,
pub subtype: u8,
}
Fields§
§prefix: String
§subtype: u8
Trait Implementations§
source§impl Clone for ProprietaryKeyType
impl Clone for ProprietaryKeyType
source§fn clone(&self) -> ProprietaryKeyType
fn clone(&self) -> ProprietaryKeyType
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 ProprietaryKeyType
impl Debug for ProprietaryKeyType
source§impl Display for ProprietaryKeyType
impl Display for ProprietaryKeyType
source§impl FromStr for ProprietaryKeyType
impl FromStr for ProprietaryKeyType
source§impl Hash for ProprietaryKeyType
impl Hash for ProprietaryKeyType
source§impl Ord for ProprietaryKeyType
impl Ord for ProprietaryKeyType
source§fn cmp(&self, other: &ProprietaryKeyType) -> Ordering
fn cmp(&self, other: &ProprietaryKeyType) -> 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 ProprietaryKeyType
impl PartialEq for ProprietaryKeyType
source§fn eq(&self, other: &ProprietaryKeyType) -> bool
fn eq(&self, other: &ProprietaryKeyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProprietaryKeyType
impl PartialOrd for ProprietaryKeyType
source§fn partial_cmp(&self, other: &ProprietaryKeyType) -> Option<Ordering>
fn partial_cmp(&self, other: &ProprietaryKeyType) -> 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 ProprietaryKeyType
impl StructuralPartialEq for ProprietaryKeyType
Auto Trait Implementations§
impl Freeze for ProprietaryKeyType
impl RefUnwindSafe for ProprietaryKeyType
impl Send for ProprietaryKeyType
impl Sync for ProprietaryKeyType
impl Unpin for ProprietaryKeyType
impl UnwindSafe for ProprietaryKeyType
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