pub struct CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef {
pub container_name: Option<String>,
pub divisor: Option<IntOrString>,
pub resource: String,
}Expand description
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
Fields§
§container_name: Option<String>Container name: required for volumes, optional for env vars
divisor: Option<IntOrString>Specifies the output format of the exposed resources, defaults to “1”
resource: StringRequired: resource to select
Trait Implementations§
Source§impl Clone for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl Clone for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Source§fn clone(&self) -> CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
fn clone(&self) -> CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl Default for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Source§fn default() -> CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
fn default() -> CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl<'de> Deserialize<'de> for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
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
Source§impl PartialEq for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl PartialEq for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Source§fn eq(
&self,
other: &CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef,
) -> bool
fn eq( &self, other: &CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
Auto Trait Implementations§
impl Freeze for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl RefUnwindSafe for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl Send for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl Sync for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl Unpin for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
impl UnwindSafe for CheClusterAuthGatewayConfigBumpEnvValueFromResourceFieldRef
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