pub struct RealtimeServerEventSessionCreated {
pub event_id: String,
pub type: String,
pub session: RealtimeSession,
}
Expand description
Returned when a Session is created.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be session.created
.
session: RealtimeSession
Trait Implementations§
Source§impl Clone for RealtimeServerEventSessionCreated
impl Clone for RealtimeServerEventSessionCreated
Source§fn clone(&self) -> RealtimeServerEventSessionCreated
fn clone(&self) -> RealtimeServerEventSessionCreated
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RealtimeServerEventSessionCreated
impl RefUnwindSafe for RealtimeServerEventSessionCreated
impl Send for RealtimeServerEventSessionCreated
impl Sync for RealtimeServerEventSessionCreated
impl Unpin for RealtimeServerEventSessionCreated
impl UnwindSafe for RealtimeServerEventSessionCreated
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