pub struct ShellCreateRequest {
pub agent_block_id: String,
pub cmd: String,
pub cwd: Option<String>,
pub title: Option<String>,
pub env: Option<HashMap<String, String>>,
}Expand description
POST /api/v1/shell/create
Fields§
§agent_block_id: String§cmd: String§cwd: Option<String>§title: Option<String>§env: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for ShellCreateRequest
impl Clone for ShellCreateRequest
Source§fn clone(&self) -> ShellCreateRequest
fn clone(&self) -> ShellCreateRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 ShellCreateRequest
impl Debug for ShellCreateRequest
Source§impl<'de> Deserialize<'de> for ShellCreateRequest
impl<'de> Deserialize<'de> for ShellCreateRequest
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 ShellCreateRequest
impl RefUnwindSafe for ShellCreateRequest
impl Send for ShellCreateRequest
impl Sync for ShellCreateRequest
impl Unpin for ShellCreateRequest
impl UnwindSafe for ShellCreateRequest
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