pub struct ResponseCreateEvent {
pub event_id: Option<String>,
pub response: Option<SessionResource>,
}
Available on crate feature
realtime
only.Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
response: Option<SessionResource>
Configuration for the response.
Trait Implementations§
Source§impl Clone for ResponseCreateEvent
impl Clone for ResponseCreateEvent
Source§fn clone(&self) -> ResponseCreateEvent
fn clone(&self) -> ResponseCreateEvent
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 moreSource§impl Debug for ResponseCreateEvent
impl Debug for ResponseCreateEvent
Source§impl Default for ResponseCreateEvent
impl Default for ResponseCreateEvent
Source§fn default() -> ResponseCreateEvent
fn default() -> ResponseCreateEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseCreateEvent
impl<'de> Deserialize<'de> for ResponseCreateEvent
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
Source§impl From<ResponseCreateEvent> for ClientEvent
impl From<ResponseCreateEvent> for ClientEvent
Source§fn from(value: ResponseCreateEvent) -> Self
fn from(value: ResponseCreateEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseCreateEvent
impl RefUnwindSafe for ResponseCreateEvent
impl Send for ResponseCreateEvent
impl Sync for ResponseCreateEvent
impl Unpin for ResponseCreateEvent
impl UnwindSafe for ResponseCreateEvent
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