Struct grin_wallet_libwallet::api_impl::types::PaymentProof
source · pub struct PaymentProof {
pub amount: u64,
pub excess: Commitment,
pub recipient_address: SlatepackAddress,
pub recipient_sig: Signature,
pub sender_address: SlatepackAddress,
pub sender_sig: Signature,
}
Expand description
Packaged Payment Proof
Fields§
§amount: u64
Amount
excess: Commitment
Kernel Excess
recipient_address: SlatepackAddress
Recipient Wallet Address
recipient_sig: Signature
Recipient Signature
sender_address: SlatepackAddress
Sender Wallet Address
sender_sig: Signature
Sender Signature
Trait Implementations§
source§impl Clone for PaymentProof
impl Clone for PaymentProof
source§fn clone(&self) -> PaymentProof
fn clone(&self) -> PaymentProof
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaymentProof
impl Debug for PaymentProof
source§impl<'de> Deserialize<'de> for PaymentProof
impl<'de> Deserialize<'de> for PaymentProof
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
Auto Trait Implementations§
impl Freeze for PaymentProof
impl RefUnwindSafe for PaymentProof
impl Send for PaymentProof
impl Sync for PaymentProof
impl Unpin for PaymentProof
impl UnwindSafe for PaymentProof
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.