Struct nostr_types::ZapDataV1
source · pub struct ZapDataV1 {
pub id: Id,
pub amount: MilliSatoshi,
pub pubkey: PublicKey,
pub provider_pubkey: PublicKey,
}
Expand description
Data about a Zap
Fields§
§id: Id
The event that was zapped
amount: MilliSatoshi
The amount that the event was zapped
pubkey: PublicKey
The public key of the person who provided the zap
provider_pubkey: PublicKey
The public key of the zap provider, for verification purposes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZapDataV1
impl RefUnwindSafe for ZapDataV1
impl Send for ZapDataV1
impl Sync for ZapDataV1
impl Unpin for ZapDataV1
impl UnwindSafe for ZapDataV1
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