Struct k8s_openapi::api::resource::v1alpha2::StructuredResourceHandle
source · pub struct StructuredResourceHandle {
pub node_name: Option<String>,
pub results: Vec<DriverAllocationResult>,
pub vendor_claim_parameters: Option<RawExtension>,
pub vendor_class_parameters: Option<RawExtension>,
}
Expand description
StructuredResourceHandle is the in-tree representation of the allocation result.
Fields§
§node_name: Option<String>
NodeName is the name of the node providing the necessary resources if the resources are local to a node.
results: Vec<DriverAllocationResult>
Results lists all allocated driver resources.
vendor_claim_parameters: Option<RawExtension>
VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.
vendor_class_parameters: Option<RawExtension>
VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.
Trait Implementations§
source§impl Clone for StructuredResourceHandle
impl Clone for StructuredResourceHandle
source§fn clone(&self) -> StructuredResourceHandle
fn clone(&self) -> StructuredResourceHandle
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 StructuredResourceHandle
impl Debug for StructuredResourceHandle
source§impl DeepMerge for StructuredResourceHandle
impl DeepMerge for StructuredResourceHandle
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for StructuredResourceHandle
impl Default for StructuredResourceHandle
source§fn default() -> StructuredResourceHandle
fn default() -> StructuredResourceHandle
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StructuredResourceHandle
impl<'de> Deserialize<'de> for StructuredResourceHandle
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 StructuredResourceHandle
impl PartialEq for StructuredResourceHandle
source§fn eq(&self, other: &StructuredResourceHandle) -> bool
fn eq(&self, other: &StructuredResourceHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StructuredResourceHandle
impl Serialize for StructuredResourceHandle
impl StructuralPartialEq for StructuredResourceHandle
Auto Trait Implementations§
impl Freeze for StructuredResourceHandle
impl RefUnwindSafe for StructuredResourceHandle
impl Send for StructuredResourceHandle
impl Sync for StructuredResourceHandle
impl Unpin for StructuredResourceHandle
impl UnwindSafe for StructuredResourceHandle
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