Struct k8s_openapi::api::resource::v1alpha2::NamedResourcesAllocationResult
source · pub struct NamedResourcesAllocationResult {
pub name: String,
}
Expand description
NamedResourcesAllocationResult is used in AllocationResultModel.
Fields§
§name: String
Name is the name of the selected resource instance.
Trait Implementations§
source§impl Clone for NamedResourcesAllocationResult
impl Clone for NamedResourcesAllocationResult
source§fn clone(&self) -> NamedResourcesAllocationResult
fn clone(&self) -> NamedResourcesAllocationResult
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 DeepMerge for NamedResourcesAllocationResult
impl DeepMerge for NamedResourcesAllocationResult
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NamedResourcesAllocationResult
impl Default for NamedResourcesAllocationResult
source§fn default() -> NamedResourcesAllocationResult
fn default() -> NamedResourcesAllocationResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamedResourcesAllocationResult
impl<'de> Deserialize<'de> for NamedResourcesAllocationResult
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 NamedResourcesAllocationResult
impl PartialEq for NamedResourcesAllocationResult
source§fn eq(&self, other: &NamedResourcesAllocationResult) -> bool
fn eq(&self, other: &NamedResourcesAllocationResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NamedResourcesAllocationResult
Auto Trait Implementations§
impl Freeze for NamedResourcesAllocationResult
impl RefUnwindSafe for NamedResourcesAllocationResult
impl Send for NamedResourcesAllocationResult
impl Sync for NamedResourcesAllocationResult
impl Unpin for NamedResourcesAllocationResult
impl UnwindSafe for NamedResourcesAllocationResult
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