pub struct Session {
pub id: String,
pub room_id: String,
pub custom_room_id: Option<String>,
pub start: String,
pub end: Option<String>,
pub status: Option<SessionStatus>,
pub participants: Vec<Participant>,
pub region: String,
pub links: ResourceLinks,
pub extra: Map<String, Value>,
}Expand description
A session: a single live occupancy of a room.
Fields§
§id: StringThe session id.
room_id: StringThe room this session belongs to.
Always populated: SessionsResource::end folds the server’s
meetingId alias into it.
custom_room_id: Option<String>The room’s caller-supplied stable id, if one was given.
start: StringWhen the session started.
end: Option<String>When the session ended, or None if it is still live.
status: Option<SessionStatus>The session’s lifecycle state.
participants: Vec<Participant>The participants seen in this session.
region: StringThe region the session ran in.
links: ResourceLinksHATEOAS-style links to related resources.
extra: Map<String, Value>Any fields the server returned that this SDK does not model yet.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Session
impl<'de> Deserialize<'de> for Session
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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