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