Struct bollard::exec::CreateExecOptions [−][src]
Exec configuration used in the Create Exec API
Fields
attach_stdin: Option<bool>
Attach to stdin
of the exec command.
attach_stdout: Option<bool>
Attach to stdout of the exec command.
attach_stderr: Option<bool>
Attach to stderr of the exec command.
tty: Option<bool>
Allocate a pseudo-TTY.
detach_keys: Option<T>
Override the key sequence for detaching a container. Format is a single character [a-Z]
or ctrl-<value>
where <value>
is one of: a-z
, @
, ^
, [
, ,
or _
.
env: Option<Vec<T>>
A list of environment variables in the form ["VAR=value", ...].
cmd: Option<Vec<T>>
Command to run, as a string or array of strings.
privileged: Option<bool>
Runs the exec process with extended privileges.
user: Option<T>
The user, and optionally, group to run the exec process inside the container. Format is one
of: user
, user:group
, uid
, or uid:gid
.
working_dir: Option<T>
The working directory for the exec process inside the container.
Trait Implementations
impl<T: Clone> Clone for CreateExecOptions<T> where
T: Into<String> + Serialize,
[src]
T: Into<String> + Serialize,
fn clone(&self) -> CreateExecOptions<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for CreateExecOptions<T> where
T: Into<String> + Serialize,
[src]
T: Into<String> + Serialize,
impl<T: Default> Default for CreateExecOptions<T> where
T: Into<String> + Serialize,
[src]
T: Into<String> + Serialize,
fn default() -> CreateExecOptions<T>
[src]
impl<'de, T> Deserialize<'de> for CreateExecOptions<T> where
T: Into<String> + Serialize,
T: Deserialize<'de>,
[src]
T: Into<String> + Serialize,
T: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<T> Serialize for CreateExecOptions<T> where
T: Into<String> + Serialize,
T: Serialize,
[src]
T: Into<String> + Serialize,
T: Serialize,
Auto Trait Implementations
impl<T> RefUnwindSafe for CreateExecOptions<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for CreateExecOptions<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for CreateExecOptions<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for CreateExecOptions<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for CreateExecOptions<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,