pub enum DecodeFallbacksType {
P2PKH = 0,
P2SH = 1,
P2WPKH = 2,
P2WSH = 3,
P2TR = 4,
}Expand description
[‘The address type (if known).’]
Variants§
Trait Implementations§
Source§impl Clone for DecodeFallbacksType
impl Clone for DecodeFallbacksType
Source§fn clone(&self) -> DecodeFallbacksType
fn clone(&self) -> DecodeFallbacksType
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 moreSource§impl Debug for DecodeFallbacksType
impl Debug for DecodeFallbacksType
Source§impl<'de> Deserialize<'de> for DecodeFallbacksType
impl<'de> Deserialize<'de> for DecodeFallbacksType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecodeFallbacksType
impl PartialEq for DecodeFallbacksType
Source§fn eq(&self, other: &DecodeFallbacksType) -> bool
fn eq(&self, other: &DecodeFallbacksType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DecodeFallbacksType
impl Serialize for DecodeFallbacksType
Source§impl ToString for DecodeFallbacksType
impl ToString for DecodeFallbacksType
Source§impl TryFrom<i32> for DecodeFallbacksType
impl TryFrom<i32> for DecodeFallbacksType
impl Copy for DecodeFallbacksType
impl Eq for DecodeFallbacksType
impl StructuralPartialEq for DecodeFallbacksType
Auto Trait Implementations§
impl Freeze for DecodeFallbacksType
impl RefUnwindSafe for DecodeFallbacksType
impl Send for DecodeFallbacksType
impl Sync for DecodeFallbacksType
impl Unpin for DecodeFallbacksType
impl UnsafeUnpin for DecodeFallbacksType
impl UnwindSafe for DecodeFallbacksType
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