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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)