Struct sn_dbc::SpentProof [−][src]
pub struct SpentProof {
pub spent_sig: Signature,
pub spentbook_pub_key: PublicKey,
pub spentbook_sig: Signature,
}
Expand description
SpentProof’s are constructed when a DBC is logged to the spentbook.
Fields
spent_sig: Signature
Signature from dbc.spend_key() over the transaction
spentbook_pub_key: PublicKey
The Spentbook who notarized that this DBC was spent.
spentbook_sig: Signature
The Spentbook’s signature notarizing the DBC was spent.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SpentProof
impl Send for SpentProof
impl Sync for SpentProof
impl Unpin for SpentProof
impl UnwindSafe for SpentProof
Blanket Implementations
Mutably borrows from an owned value. Read more