pub struct ZapDataV1 {
pub id: Id,
pub amount: MilliSatoshi,
pub pubkey: PublicKey,
pub provider_pubkey: PublicKey,
}Expand description
Data about a Zap
Fields§
§id: IdThe event that was zapped
amount: MilliSatoshiThe amount that the event was zapped
pubkey: PublicKeyThe public key of the person who provided the zap
provider_pubkey: PublicKeyThe 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