pub struct SessionAddedParams {
pub channel: Uri,
pub summary: SessionSummary,
}Expand description
Broadcast to all clients subscribed to the root channel when a new session is created.
Fields§
§channel: UriChannel URI this notification belongs to (the root channel)
summary: SessionSummarySummary of the new session
Trait Implementations§
Source§impl Clone for SessionAddedParams
impl Clone for SessionAddedParams
Source§fn clone(&self) -> SessionAddedParams
fn clone(&self) -> SessionAddedParams
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 moreSource§impl Debug for SessionAddedParams
impl Debug for SessionAddedParams
Source§impl<'de> Deserialize<'de> for SessionAddedParams
impl<'de> Deserialize<'de> for SessionAddedParams
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 PartialEq for SessionAddedParams
impl PartialEq for SessionAddedParams
Source§fn eq(&self, other: &SessionAddedParams) -> bool
fn eq(&self, other: &SessionAddedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionAddedParams
impl Serialize for SessionAddedParams
impl StructuralPartialEq for SessionAddedParams
Auto Trait Implementations§
impl Freeze for SessionAddedParams
impl RefUnwindSafe for SessionAddedParams
impl Send for SessionAddedParams
impl Sync for SessionAddedParams
impl Unpin for SessionAddedParams
impl UnsafeUnpin for SessionAddedParams
impl UnwindSafe for SessionAddedParams
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