pub struct ShellSessionStopResponse {
pub session_id: SessionId,
pub state: SessionState,
pub terminal_reason: String,
}Expand description
shell_session_stop response. The session shell is terminated
(graceful then forced) and the state moves to SessionState::Exited.
Fields§
§session_id: SessionId§state: SessionState§terminal_reason: StringShort bounded reason for the terminal transition (e.g. “stopped” or “already terminal”).
Trait Implementations§
Source§impl Clone for ShellSessionStopResponse
impl Clone for ShellSessionStopResponse
Source§fn clone(&self) -> ShellSessionStopResponse
fn clone(&self) -> ShellSessionStopResponse
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 ShellSessionStopResponse
impl Debug for ShellSessionStopResponse
Source§impl<'de> Deserialize<'de> for ShellSessionStopResponse
impl<'de> Deserialize<'de> for ShellSessionStopResponse
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 ShellSessionStopResponse
impl RefUnwindSafe for ShellSessionStopResponse
impl Send for ShellSessionStopResponse
impl Sync for ShellSessionStopResponse
impl Unpin for ShellSessionStopResponse
impl UnsafeUnpin for ShellSessionStopResponse
impl UnwindSafe for ShellSessionStopResponse
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