pub struct ExecStartParams {
pub exec_id: String,
pub container_id: String,
pub cmd: Vec<String>,
pub env: Vec<(String, String)>,
pub working_dir: Option<String>,
pub user: Option<String>,
pub tty: bool,
pub detach: bool,
pub tty_width: u32,
pub tty_height: u32,
}Expand description
Exec start request for agent communication.
Fields§
§exec_id: StringExec ID.
container_id: StringContainer ID.
cmd: Vec<String>Command to execute.
env: Vec<(String, String)>Environment variables.
working_dir: Option<String>Working directory.
user: Option<String>User to run as.
tty: boolAllocate TTY.
detach: boolDetach mode.
tty_width: u32Initial TTY width.
tty_height: u32Initial TTY height.
Trait Implementations§
Source§impl Clone for ExecStartParams
impl Clone for ExecStartParams
Source§fn clone(&self) -> ExecStartParams
fn clone(&self) -> ExecStartParams
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 moreAuto Trait Implementations§
impl Freeze for ExecStartParams
impl RefUnwindSafe for ExecStartParams
impl Send for ExecStartParams
impl Sync for ExecStartParams
impl Unpin for ExecStartParams
impl UnsafeUnpin for ExecStartParams
impl UnwindSafe for ExecStartParams
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