pub struct DisposeSessionParams {
pub channel: Uri,
}Expand description
Disposes a session and cleans up server-side resources.
The server broadcasts a root/sessionRemoved notification to all clients.
Fields§
§channel: UriChannel URI this command targets.
Trait Implementations§
Source§impl Clone for DisposeSessionParams
impl Clone for DisposeSessionParams
Source§fn clone(&self) -> DisposeSessionParams
fn clone(&self) -> DisposeSessionParams
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 DisposeSessionParams
impl Debug for DisposeSessionParams
Source§impl<'de> Deserialize<'de> for DisposeSessionParams
impl<'de> Deserialize<'de> for DisposeSessionParams
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 DisposeSessionParams
impl PartialEq for DisposeSessionParams
Source§fn eq(&self, other: &DisposeSessionParams) -> bool
fn eq(&self, other: &DisposeSessionParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DisposeSessionParams
impl Serialize for DisposeSessionParams
impl StructuralPartialEq for DisposeSessionParams
Auto Trait Implementations§
impl Freeze for DisposeSessionParams
impl RefUnwindSafe for DisposeSessionParams
impl Send for DisposeSessionParams
impl Sync for DisposeSessionParams
impl Unpin for DisposeSessionParams
impl UnsafeUnpin for DisposeSessionParams
impl UnwindSafe for DisposeSessionParams
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