Struct nostr_sdk::nips::nip26::EventProperties
source · pub struct EventProperties { /* private fields */ }
Expand description
Represents properties of an event, relevant for delegation
Implementations§
source§impl EventProperties
impl EventProperties
sourcepub fn new(event_kind: u64, created_time: u64) -> EventProperties
pub fn new(event_kind: u64, created_time: u64) -> EventProperties
Create new with values
sourcepub fn from_event(event: &Event) -> EventProperties
pub fn from_event(event: &Event) -> EventProperties
Create from an Event
Auto Trait Implementations§
impl RefUnwindSafe for EventProperties
impl Send for EventProperties
impl Sync for EventProperties
impl Unpin for EventProperties
impl UnwindSafe for EventProperties
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