pub struct StartSessionPayload {
pub session_id: String,
pub shell: Option<String>,
pub rows: i32,
pub cols: i32,
pub working_directory: Option<String>,
pub environment: Option<HashMap<String, String>>,
}Expand description
Server→Skill: start an interactive session (PTY).
Fields§
§session_id: String§shell: Option<String>§rows: i32§cols: i32§working_directory: Option<String>§environment: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for StartSessionPayload
impl Clone for StartSessionPayload
Source§fn clone(&self) -> StartSessionPayload
fn clone(&self) -> StartSessionPayload
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 StartSessionPayload
impl Debug for StartSessionPayload
Source§impl<'de> Deserialize<'de> for StartSessionPayload
impl<'de> Deserialize<'de> for StartSessionPayload
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 StartSessionPayload
impl RefUnwindSafe for StartSessionPayload
impl Send for StartSessionPayload
impl Sync for StartSessionPayload
impl Unpin for StartSessionPayload
impl UnsafeUnpin for StartSessionPayload
impl UnwindSafe for StartSessionPayload
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