Struct dockworker::CreateExecOptions
source · pub struct CreateExecOptions { /* private fields */ }Expand description
request body of /containers/Create an exec instance
Implementations§
source§impl CreateExecOptions
impl CreateExecOptions
pub fn new() -> Self
pub fn attach_stdin(&mut self, attach_stdin: bool) -> &mut Self
pub fn attach_stdout(&mut self, attach_stdout: bool) -> &mut Self
pub fn attach_stderr(&mut self, attach_stderr: bool) -> &mut Self
pub fn tty(&mut self, tty: bool) -> &mut Self
pub fn env(&mut self, env: String) -> &mut Self
pub fn privileged(&mut self, privileged: bool) -> &mut Self
pub fn user(&mut self, user: String) -> &mut Self
pub fn working_dir(&mut self, working_dir: PathBuf) -> &mut Self
Trait Implementations§
source§impl Clone for CreateExecOptions
impl Clone for CreateExecOptions
source§fn clone(&self) -> CreateExecOptions
fn clone(&self) -> CreateExecOptions
Returns a copy 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 CreateExecOptions
impl Debug for CreateExecOptions
source§impl<'de> Deserialize<'de> for CreateExecOptions
impl<'de> Deserialize<'de> for CreateExecOptions
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 RefUnwindSafe for CreateExecOptions
impl Send for CreateExecOptions
impl Sync for CreateExecOptions
impl Unpin for CreateExecOptions
impl UnwindSafe for CreateExecOptions
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