pub enum VtxoPolicyKind {
Pubkey,
ServerHtlcSend,
ServerHtlcRecv,
}Expand description
Type enum of VtxoPolicy.
Variants§
Pubkey
Standard VTXO output protected with a public key.
ServerHtlcSend
A VTXO that represents an HTLC with the Ark server to send money.
ServerHtlcRecv
A VTXO that represents an HTLC with the Ark server to receive money.
Trait Implementations§
Source§impl Clone for VtxoPolicyKind
impl Clone for VtxoPolicyKind
Source§fn clone(&self) -> VtxoPolicyKind
fn clone(&self) -> VtxoPolicyKind
Returns a duplicate 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 VtxoPolicyKind
impl Debug for VtxoPolicyKind
Source§impl<'de> Deserialize<'de> for VtxoPolicyKind
impl<'de> Deserialize<'de> for VtxoPolicyKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VtxoPolicyKind
impl Display for VtxoPolicyKind
Source§impl FromStr for VtxoPolicyKind
impl FromStr for VtxoPolicyKind
Source§impl Hash for VtxoPolicyKind
impl Hash for VtxoPolicyKind
Source§impl Ord for VtxoPolicyKind
impl Ord for VtxoPolicyKind
Source§fn cmp(&self, other: &VtxoPolicyKind) -> Ordering
fn cmp(&self, other: &VtxoPolicyKind) -> 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 VtxoPolicyKind
impl PartialEq for VtxoPolicyKind
Source§impl PartialOrd for VtxoPolicyKind
impl PartialOrd for VtxoPolicyKind
Source§impl Serialize for VtxoPolicyKind
impl Serialize for VtxoPolicyKind
impl Copy for VtxoPolicyKind
impl Eq for VtxoPolicyKind
impl StructuralPartialEq for VtxoPolicyKind
Auto Trait Implementations§
impl Freeze for VtxoPolicyKind
impl RefUnwindSafe for VtxoPolicyKind
impl Send for VtxoPolicyKind
impl Sync for VtxoPolicyKind
impl Unpin for VtxoPolicyKind
impl UnwindSafe for VtxoPolicyKind
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