pub struct CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest {
pub cpu: Option<IntOrString>,
pub memory: Option<IntOrString>,
}Expand description
Describes the minimum amount of compute resources required.
Fields§
§cpu: Option<IntOrString>CPU, in cores. (500m = .5 cores)
If the value is not specified, then the default value is set depending on the component.
If value is 0, then no value is set for the component.
memory: Option<IntOrString>Memory, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)
If the value is not specified, then the default value is set depending on the component.
If value is 0, then no value is set for the component.
Trait Implementations§
Source§impl Clone for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl Clone for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
Source§fn clone(
&self,
) -> CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
fn clone( &self, ) -> CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
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 CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl Default for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
Source§fn default() -> CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
fn default() -> CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl<'de> Deserialize<'de> for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
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 CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl PartialEq for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
Source§fn eq(
&self,
other: &CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest,
) -> bool
fn eq( &self, other: &CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
Auto Trait Implementations§
impl Freeze for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl RefUnwindSafe for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl Send for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl Sync for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl Unpin for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
impl UnwindSafe for CheClusterComponentsPluginRegistryDeploymentContainersResourcesRequest
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