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>
§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>
impl<'a> Default for ImageCreateOptions<'a>
Source§fn default() -> ImageCreateOptions<'a>
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> 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