pub struct ProofV3 {
pub amount: Amount,
pub keyset_id: ShortKeysetId,
pub secret: Secret,
pub c: PublicKey,
pub witness: Option<Witness>,
pub dleq: Option<ProofDleq>,
}
Expand description
Proof v3 with short keyset id
Fields§
§amount: Amount
Amount
keyset_id: ShortKeysetId
Short keyset id
secret: Secret
Secret message
c: PublicKey
Unblinded signature
witness: Option<Witness>
Witness
dleq: Option<ProofDleq>
DLEQ Proof
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProofV3
impl<'de> Deserialize<'de> for ProofV3
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ProofV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ProofV3
impl Serialize for ProofV3
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 ProofV3
impl StructuralPartialEq for ProofV3
Auto Trait Implementations§
impl Freeze for ProofV3
impl RefUnwindSafe for ProofV3
impl Send for ProofV3
impl Sync for ProofV3
impl Unpin for ProofV3
impl UnwindSafe for ProofV3
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