pub struct LiveEvent {Show 16 fields
pub id: String,
pub title: Option<String>,
pub summary: Option<String>,
pub image: Option<(UncheckedUrl, Option<ImageDimensions>)>,
pub hashtags: Vec<String, Global>,
pub streaming: Option<UncheckedUrl>,
pub recording: Option<UncheckedUrl>,
pub starts: Option<Timestamp>,
pub ends: Option<Timestamp>,
pub status: Option<LiveEventStatus>,
pub current_participants: Option<u64>,
pub total_participants: Option<u64>,
pub relays: Vec<UncheckedUrl, Global>,
pub host: Option<LiveEventHost>,
pub speakers: Vec<(XOnlyPublicKey, Option<UncheckedUrl>), Global>,
pub participants: Vec<(XOnlyPublicKey, Option<UncheckedUrl>), Global>,
}
Expand description
Live Event
Fields§
§id: String
Unique event ID
title: Option<String>
Event title
summary: Option<String>
Event summary
image: Option<(UncheckedUrl, Option<ImageDimensions>)>
Event image
Hashtags
streaming: Option<UncheckedUrl>
Steaming URL
recording: Option<UncheckedUrl>
Recording URL
starts: Option<Timestamp>
Starts at
ends: Option<Timestamp>
Ends at
status: Option<LiveEventStatus>
Current status
current_participants: Option<u64>
Current participants
total_participants: Option<u64>
Total participants
relays: Vec<UncheckedUrl, Global>
Relays
host: Option<LiveEventHost>
Host
speakers: Vec<(XOnlyPublicKey, Option<UncheckedUrl>), Global>
Speakers
participants: Vec<(XOnlyPublicKey, Option<UncheckedUrl>), Global>
Participants
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LiveEvent
impl Send for LiveEvent
impl Sync for LiveEvent
impl Unpin for LiveEvent
impl UnwindSafe for LiveEvent
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