pub struct SessionsStopRemoteControlRequest {
pub expected_session_id: Option<String>,
pub force: Option<bool>,
}Expand description
Parameters for stopping the remote-control singleton.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§expected_session_id: Option<String>When provided, the stop is rejected unless the singleton currently points at this session id (compare-and-swap semantics).
force: Option<bool>When true, the singleton is unconditionally torn down regardless of expectedSessionId. Use during shutdown or explicit /remote off.
Trait Implementations§
Source§impl Clone for SessionsStopRemoteControlRequest
impl Clone for SessionsStopRemoteControlRequest
Source§fn clone(&self) -> SessionsStopRemoteControlRequest
fn clone(&self) -> SessionsStopRemoteControlRequest
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 Default for SessionsStopRemoteControlRequest
impl Default for SessionsStopRemoteControlRequest
Source§fn default() -> SessionsStopRemoteControlRequest
fn default() -> SessionsStopRemoteControlRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsStopRemoteControlRequest
impl<'de> Deserialize<'de> for SessionsStopRemoteControlRequest
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
Auto Trait Implementations§
impl Freeze for SessionsStopRemoteControlRequest
impl RefUnwindSafe for SessionsStopRemoteControlRequest
impl Send for SessionsStopRemoteControlRequest
impl Sync for SessionsStopRemoteControlRequest
impl Unpin for SessionsStopRemoteControlRequest
impl UnsafeUnpin for SessionsStopRemoteControlRequest
impl UnwindSafe for SessionsStopRemoteControlRequest
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