pub enum VtxoPolicyType {
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 VtxoPolicyType
impl Clone for VtxoPolicyType
Source§fn clone(&self) -> VtxoPolicyType
fn clone(&self) -> VtxoPolicyType
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 VtxoPolicyType
impl Debug for VtxoPolicyType
Source§impl<'de> Deserialize<'de> for VtxoPolicyType
impl<'de> Deserialize<'de> for VtxoPolicyType
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 VtxoPolicyType
impl Display for VtxoPolicyType
Source§impl FromStr for VtxoPolicyType
impl FromStr for VtxoPolicyType
Source§impl Hash for VtxoPolicyType
impl Hash for VtxoPolicyType
Source§impl Ord for VtxoPolicyType
impl Ord for VtxoPolicyType
Source§fn cmp(&self, other: &VtxoPolicyType) -> Ordering
fn cmp(&self, other: &VtxoPolicyType) -> 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 VtxoPolicyType
impl PartialEq for VtxoPolicyType
Source§impl PartialOrd for VtxoPolicyType
impl PartialOrd for VtxoPolicyType
Source§impl Serialize for VtxoPolicyType
impl Serialize for VtxoPolicyType
impl Copy for VtxoPolicyType
impl Eq for VtxoPolicyType
impl StructuralPartialEq for VtxoPolicyType
Auto Trait Implementations§
impl Freeze for VtxoPolicyType
impl RefUnwindSafe for VtxoPolicyType
impl Send for VtxoPolicyType
impl Sync for VtxoPolicyType
impl Unpin for VtxoPolicyType
impl UnwindSafe for VtxoPolicyType
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