Struct k8s_openapi::api::core::v1::ResourceFieldSelector [−][src]
pub struct ResourceFieldSelector {
pub container_name: Option<String>,
pub divisor: Option<Quantity>,
pub resource: String,
}
Expand description
ResourceFieldSelector represents container resources (cpu, memory) and their output format
Fields
container_name: Option<String>
Container name: required for volumes, optional for env vars
divisor: Option<Quantity>
Specifies the output format of the exposed resources, defaults to “1”
resource: String
Required: resource to select
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResourceFieldSelector
impl Send for ResourceFieldSelector
impl Sync for ResourceFieldSelector
impl Unpin for ResourceFieldSelector
impl UnwindSafe for ResourceFieldSelector
Blanket Implementations
Mutably borrows from an owned value. Read more