pub struct Proof {
pub amount: Amount,
pub keyset_id: Id,
pub secret: Secret,
pub c: PublicKey,
pub witness: Option<Witness>,
pub dleq: Option<ProofDleq>,
}
Expand description
Proofs
Fields§
§amount: Amount
Amount
keyset_id: Id
Keyset id
secret: Secret
Secret message
c: PublicKey
Unblinded signature
witness: Option<Witness>
Witness
dleq: Option<ProofDleq>
DLEQ Proof
Implementations§
Source§impl Proof
impl Proof
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proof
impl<'de> Deserialize<'de> for Proof
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Proof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Proof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Proof
impl Ord for Proof
Source§impl PartialOrd for Proof
impl PartialOrd for Proof
Source§impl Serialize for Proof
impl Serialize for Proof
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations§
impl Freeze for Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
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