Struct shiplift::image::ContainerConfig[][src]

pub struct ContainerConfig {
Show fields pub attach_stderr: bool, pub attach_stdin: bool, pub attach_stdout: bool, pub cmd: Option<Vec<String>>, pub domainname: String, pub entrypoint: Option<Vec<String>>, pub env: Option<Vec<String>>, pub exposed_ports: Option<HashMap<String, HashMap<String, String>>>, pub hostname: String, pub image: String, pub labels: Option<HashMap<String, String>>, pub on_build: Option<Vec<String>>, pub open_stdin: bool, pub stdin_once: bool, pub tty: bool, pub user: String, pub working_dir: String,
}

Fields

attach_stderr: boolattach_stdin: boolattach_stdout: boolcmd: Option<Vec<String>>domainname: Stringentrypoint: Option<Vec<String>>env: Option<Vec<String>>exposed_ports: Option<HashMap<String, HashMap<String, String>>>hostname: Stringimage: Stringlabels: Option<HashMap<String, String>>on_build: Option<Vec<String>>open_stdin: boolstdin_once: booltty: booluser: Stringworking_dir: String

Implementations

impl ContainerConfig[src]

pub fn env(&self) -> HashMap<String, String>[src]

Trait Implementations

impl Clone for ContainerConfig[src]

impl Debug for ContainerConfig[src]

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

impl Serialize for ContainerConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ContainerConfig

impl Send for ContainerConfig

impl Sync for ContainerConfig

impl Unpin for ContainerConfig

impl UnwindSafe for ContainerConfig

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]