pub struct SessionLeaveParams {
pub command_id: String,
pub session_id: String,
pub stop: Option<bool>,
}Expand description
session/leave params.
Fields§
§command_id: StringClient-minted UUIDv7 command identity.
session_id: StringThe exact loaded session whose ownership is to be released.
stop: Option<bool>Explicitly cancel unfinished work before leaving. Omitted is false.
Trait Implementations§
Source§impl Clone for SessionLeaveParams
impl Clone for SessionLeaveParams
Source§impl Debug for SessionLeaveParams
impl Debug for SessionLeaveParams
Source§impl<'de> Deserialize<'de> for SessionLeaveParams
impl<'de> Deserialize<'de> for SessionLeaveParams
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
impl Eq for SessionLeaveParams
Source§impl PartialEq for SessionLeaveParams
impl PartialEq for SessionLeaveParams
Source§impl Serialize for SessionLeaveParams
impl Serialize for SessionLeaveParams
impl StructuralPartialEq for SessionLeaveParams
Auto Trait Implementations§
impl Freeze for SessionLeaveParams
impl RefUnwindSafe for SessionLeaveParams
impl Send for SessionLeaveParams
impl Sync for SessionLeaveParams
impl Unpin for SessionLeaveParams
impl UnsafeUnpin for SessionLeaveParams
impl UnwindSafe for SessionLeaveParams
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