Struct ImageCreateOptions

Source
pub struct ImageCreateOptions<'a> {
Show 36 fields pub all_platforms: Option<bool>, pub build_args: Option<&'a str>, pub cache_from: Option<&'a str>, pub compat_volumes: Option<bool>, pub cpu_period: Option<i64>, pub cpu_quota: Option<i64>, pub cpu_set_cpus: Option<&'a str>, pub cpu_shares: Option<i64>, pub dockerfile: Option<&'a str>, pub extra_hosts: Option<&'a str>, pub force_rm: Option<bool>, pub http_proxy: Option<bool>, pub inherit_labels: Option<bool>, pub labels: Option<&'a str>, pub layer_label: Option<Vec<&'a str>>, pub layers: Option<bool>, pub memory: Option<i64>, pub mem_swap: Option<i64>, pub network_mode: Option<&'a str>, pub no_cache: Option<bool>, pub no_hosts: Option<bool>, pub outputs: Option<&'a str>, pub platform: Option<&'a str>, pub pull: Option<bool>, pub q: Option<bool>, pub remote: Option<&'a str>, pub rm: Option<bool>, pub shm_size: Option<i64>, pub squash: Option<bool>, pub t: Option<&'a str>, pub target: Option<&'a str>, pub unset_env: Option<Vec<&'a str>>, pub unset_label: Option<Vec<&'a str>>, pub volume: Option<Vec<&'a str>>, pub content_type: Option<&'a str>, pub x_registry_config: Option<&'a str>,
}

Fields§

§all_platforms: Option<bool>§build_args: Option<&'a str>§cache_from: Option<&'a str>§compat_volumes: Option<bool>§cpu_period: Option<i64>§cpu_quota: Option<i64>§cpu_set_cpus: Option<&'a str>§cpu_shares: Option<i64>§dockerfile: Option<&'a str>§extra_hosts: Option<&'a str>§force_rm: Option<bool>§http_proxy: Option<bool>§inherit_labels: Option<bool>§labels: Option<&'a str>§layer_label: Option<Vec<&'a str>>§layers: Option<bool>§memory: Option<i64>§mem_swap: Option<i64>§network_mode: Option<&'a str>§no_cache: Option<bool>§no_hosts: Option<bool>§outputs: Option<&'a str>§platform: Option<&'a str>§pull: Option<bool>§q: Option<bool>§remote: Option<&'a str>§rm: Option<bool>§shm_size: Option<i64>§squash: Option<bool>§t: Option<&'a str>§target: Option<&'a str>§unset_env: Option<Vec<&'a str>>§unset_label: Option<Vec<&'a str>>§volume: Option<Vec<&'a str>>§content_type: Option<&'a str>§x_registry_config: Option<&'a str>

Trait Implementations§

Source§

impl<'a> Default for ImageCreateOptions<'a>

Source§

fn default() -> ImageCreateOptions<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ImageCreateOptions<'a>

§

impl<'a> RefUnwindSafe for ImageCreateOptions<'a>

§

impl<'a> Send for ImageCreateOptions<'a>

§

impl<'a> Sync for ImageCreateOptions<'a>

§

impl<'a> Unpin for ImageCreateOptions<'a>

§

impl<'a> UnwindSafe for ImageCreateOptions<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,