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