pub struct TurnStateEvent {
pub session_id: String,
pub channel_name: String,
pub data: EventData,
pub state: String,
pub previous_state: Option<String>,
}Fields§
§session_id: String§channel_name: String§data: EventData§state: String§previous_state: Option<String>Trait Implementations§
Source§impl Clone for TurnStateEvent
impl Clone for TurnStateEvent
Source§fn clone(&self) -> TurnStateEvent
fn clone(&self) -> TurnStateEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TurnStateEvent
impl RefUnwindSafe for TurnStateEvent
impl Send for TurnStateEvent
impl Sync for TurnStateEvent
impl Unpin for TurnStateEvent
impl UnsafeUnpin for TurnStateEvent
impl UnwindSafe for TurnStateEvent
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