pub struct DockerConfigDelta {Show 13 fields
pub allow_internet_access: Option<bool>,
pub command: Option<Vec<String>>,
pub cpu_cores: Option<f32>,
pub environment: Option<Vec<EnvironmentVariable>>,
pub image: Option<String>,
pub registry_username: Option<String>,
pub registry_password: Option<String>,
pub registry_type: Option<RegistryType>,
pub ports: Option<Vec<String>>,
pub ram_mb: Option<i32>,
pub ram_mb_min: Option<i32>,
pub service_account: Option<String>,
pub labels: Option<Vec<EnvironmentVariable>>,
}
Expand description
Docker Configuration Delta
Fields§
§allow_internet_access: Option<bool>
REF_DOCKER_CONFIG
command: Option<Vec<String>>
REF_DOCKER_CONFIG
cpu_cores: Option<f32>
REF_DOCKER_CONFIG
environment: Option<Vec<EnvironmentVariable>>
REF_DOCKER_CONFIG
image: Option<String>
REF_DOCKER_CONFIG
registry_username: Option<String>
REF_DOCKER_CONFIG
registry_password: Option<String>
REF_DOCKER_CONFIG
registry_type: Option<RegistryType>
REF_DOCKER_CONFIG
ports: Option<Vec<String>>
REF_DOCKER_CONFIG
ram_mb: Option<i32>
REF_DOCKER_CONFIG
ram_mb_min: Option<i32>
REF_DOCKER_CONFIG
service_account: Option<String>
REF_DOCKER_CONFIG
labels: Option<Vec<EnvironmentVariable>>
REF_DOCKER_CONFIG
Trait Implementations§
Source§impl Default for DockerConfigDelta
impl Default for DockerConfigDelta
Source§fn default() -> DockerConfigDelta
fn default() -> DockerConfigDelta
Returns the “default value” for a type. Read more
Source§impl Described<ElasticMeta> for DockerConfigDelta
impl Described<ElasticMeta> for DockerConfigDelta
Source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
Source§impl<'de> Deserialize<'de> for DockerConfigDeltawhere
DockerConfigDelta: Default,
impl<'de> Deserialize<'de> for DockerConfigDeltawhere
DockerConfigDelta: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DockerConfigDelta
impl RefUnwindSafe for DockerConfigDelta
impl Send for DockerConfigDelta
impl Sync for DockerConfigDelta
impl Unpin for DockerConfigDelta
impl UnwindSafe for DockerConfigDelta
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more