pub enum SpendPathKind {
Forfeit,
Exit,
Delegate,
VhtlcClaim,
VhtlcRefund,
VhtlcRefundWithoutReceiver,
VhtlcUnilateralClaim,
VhtlcUnilateralRefund,
VhtlcUnilateralRefundWithoutReceiver,
Custom(String),
}Variants§
Forfeit
Exit
Delegate
VhtlcClaim
VhtlcRefund
VhtlcRefundWithoutReceiver
VhtlcUnilateralClaim
VhtlcUnilateralRefund
VhtlcUnilateralRefundWithoutReceiver
Custom(String)
Implementations§
Source§impl SpendPathKind
impl SpendPathKind
pub fn from_vhtlc_name(name: String) -> Self
Trait Implementations§
Source§impl Clone for SpendPathKind
impl Clone for SpendPathKind
Source§fn clone(&self) -> SpendPathKind
fn clone(&self) -> SpendPathKind
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 SpendPathKind
impl Debug for SpendPathKind
Source§impl<'de> Deserialize<'de> for SpendPathKind
impl<'de> Deserialize<'de> for SpendPathKind
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 SpendPathKind
Source§impl Hash for SpendPathKind
impl Hash for SpendPathKind
Source§impl PartialEq for SpendPathKind
impl PartialEq for SpendPathKind
Source§fn eq(&self, other: &SpendPathKind) -> bool
fn eq(&self, other: &SpendPathKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpendPathKind
impl Serialize for SpendPathKind
impl StructuralPartialEq for SpendPathKind
Auto Trait Implementations§
impl Freeze for SpendPathKind
impl RefUnwindSafe for SpendPathKind
impl Send for SpendPathKind
impl Sync for SpendPathKind
impl Unpin for SpendPathKind
impl UnsafeUnpin for SpendPathKind
impl UnwindSafe for SpendPathKind
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