Struct k8s_openapi::api::resource::v1alpha3::DeviceAllocationResult
source · pub struct DeviceAllocationResult {
pub config: Option<Vec<DeviceAllocationConfiguration>>,
pub results: Option<Vec<DeviceRequestAllocationResult>>,
}
Expand description
DeviceAllocationResult is the result of allocating devices.
Fields§
§config: Option<Vec<DeviceAllocationConfiguration>>
This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.
This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.
results: Option<Vec<DeviceRequestAllocationResult>>
Results lists all allocated devices.
Trait Implementations§
source§impl Clone for DeviceAllocationResult
impl Clone for DeviceAllocationResult
source§fn clone(&self) -> DeviceAllocationResult
fn clone(&self) -> DeviceAllocationResult
Returns a copy 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 Debug for DeviceAllocationResult
impl Debug for DeviceAllocationResult
source§impl DeepMerge for DeviceAllocationResult
impl DeepMerge for DeviceAllocationResult
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for DeviceAllocationResult
impl Default for DeviceAllocationResult
source§fn default() -> DeviceAllocationResult
fn default() -> DeviceAllocationResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceAllocationResult
impl<'de> Deserialize<'de> for DeviceAllocationResult
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 DeviceAllocationResult
impl PartialEq for DeviceAllocationResult
source§impl Serialize for DeviceAllocationResult
impl Serialize for DeviceAllocationResult
impl StructuralPartialEq for DeviceAllocationResult
Auto Trait Implementations§
impl Freeze for DeviceAllocationResult
impl RefUnwindSafe for DeviceAllocationResult
impl Send for DeviceAllocationResult
impl Sync for DeviceAllocationResult
impl Unpin for DeviceAllocationResult
impl UnwindSafe for DeviceAllocationResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)