Struct nostr_types::ZapDataV2
source · 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: EventReference
The event that was zapped. If missing we can’t use the zap receipt event.
amount: MilliSatoshi
The amount that the event was zapped
payee: PublicKey
The public key of the person who received the zap
payer: PublicKey
The public key of the person who paid the zap, if it was in the receipt
provider_pubkey: PublicKey
The 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