pub struct ZapDataV2 {
pub zapped_event: EventReference,
pub amount: MilliSatoshi,
pub payee: PublicKey,
pub payer: PublicKey,
pub provider_pubkey: PublicKey,
}Expand description
Data about a Zap
Fields§
§zapped_event: EventReferenceThe event that was zapped. If missing we can’t use the zap receipt event.
amount: MilliSatoshiThe amount that the event was zapped
payee: PublicKeyThe public key of the person who received the zap
payer: PublicKeyThe public key of the person who paid the zap, if it was in the receipt
provider_pubkey: PublicKeyThe public key of the zap provider, for verification purposes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZapDataV2
impl RefUnwindSafe for ZapDataV2
impl Send for ZapDataV2
impl Sync for ZapDataV2
impl Unpin for ZapDataV2
impl UnwindSafe for ZapDataV2
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