Struct nostr_types::ZapData
source · pub struct ZapData {
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 RefUnwindSafe for ZapData
impl Send for ZapData
impl Sync for ZapData
impl Unpin for ZapData
impl UnwindSafe for ZapData
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