pub enum TaprootSpendPath {
None = 0,
KeyPath = 1,
ScriptPath = 2,
Mixed = 3,
}Variants§
Trait Implementations§
Source§impl Clone for TaprootSpendPath
impl Clone for TaprootSpendPath
Source§fn clone(&self) -> TaprootSpendPath
fn clone(&self) -> TaprootSpendPath
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 TaprootSpendPath
Source§impl Debug for TaprootSpendPath
impl Debug for TaprootSpendPath
Source§impl Default for TaprootSpendPath
impl Default for TaprootSpendPath
Source§fn default() -> TaprootSpendPath
fn default() -> TaprootSpendPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaprootSpendPath
impl<'de> Deserialize<'de> for TaprootSpendPath
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
impl Eq for TaprootSpendPath
Source§impl PartialEq for TaprootSpendPath
impl PartialEq for TaprootSpendPath
Source§fn eq(&self, other: &TaprootSpendPath) -> bool
fn eq(&self, other: &TaprootSpendPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaprootSpendPath
impl Serialize for TaprootSpendPath
impl StructuralPartialEq for TaprootSpendPath
Auto Trait Implementations§
impl Freeze for TaprootSpendPath
impl RefUnwindSafe for TaprootSpendPath
impl Send for TaprootSpendPath
impl Sync for TaprootSpendPath
impl Unpin for TaprootSpendPath
impl UnsafeUnpin for TaprootSpendPath
impl UnwindSafe for TaprootSpendPath
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