Type Alias bollard::models::GenericResources

source ·
pub type GenericResources = GenericResourcesInner;
Expand description

User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1).

Aliased Type§

struct GenericResources {
    pub named_resource_spec: Option<GenericResourcesInnerNamedResourceSpec>,
    pub discrete_resource_spec: Option<GenericResourcesInnerDiscreteResourceSpec>,
}

Fields§

§named_resource_spec: Option<GenericResourcesInnerNamedResourceSpec>§discrete_resource_spec: Option<GenericResourcesInnerDiscreteResourceSpec>