pub struct Nuts {
pub nut4: Nut4,
pub nut5: Nut5,
pub nut7: Nut7,
pub nut8: Nut8,
pub nut9: Nut9,
pub nut10: Nut10,
pub nut11: Nut11,
pub nut12: Nut12,
pub nut14: Option<Nut14>,
pub nut15: Option<Nut15>,
}Fields§
§nut4: Nut4Minting tokens
nut5: Nut5Melting tokens
nut7: Nut7Token state check
nut8: Nut8Overpaid Lightning fees
nut9: Nut9Deterministic backup and restore
nut10: Nut10Spending conditions
nut11: Nut11Pay-To-Pubkey (P2PK)
nut12: Nut12DLEQ proofs
nut14: Option<Nut14>minting tokens onchain
nut15: Option<Nut15>melting tokens onchain
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nuts
impl<'de> Deserialize<'de> for Nuts
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<'__s> ToSchema<'__s> for Nuts
impl<'__s> ToSchema<'__s> for Nuts
impl Eq for Nuts
impl StructuralPartialEq for Nuts
Auto Trait Implementations§
impl Freeze for Nuts
impl RefUnwindSafe for Nuts
impl Send for Nuts
impl Sync for Nuts
impl Unpin for Nuts
impl UnwindSafe for Nuts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more