[][src]Struct dockworker::CreateExecOptions

pub struct CreateExecOptions { /* fields omitted */ }

request body of /containers/Create an exec instance

Methods

impl CreateExecOptions[src]

pub fn new() -> Self[src]

pub fn attach_stdin(&mut self, attach_stdin: bool) -> &mut Self[src]

pub fn attach_stdout(&mut self, attach_stdout: bool) -> &mut Self[src]

pub fn attach_stderr(&mut self, attach_stderr: bool) -> &mut Self[src]

pub fn tty(&mut self, tty: bool) -> &mut Self[src]

pub fn cmd(&mut self, cmd: String) -> &mut Self[src]

push back a cmd argment

pub fn privileged(&mut self, privileged: bool) -> &mut Self[src]

pub fn user(&mut self, user: String) -> &mut Self[src]

pub fn working_dir(&mut self, working_dir: PathBuf) -> &mut Self[src]

Trait Implementations

impl Clone for CreateExecOptions[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreateExecOptions[src]

impl Serialize for CreateExecOptions[src]

impl<'de> Deserialize<'de> for CreateExecOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]