Struct k8s_openapi::api::resource::v1alpha2::ResourceRequest
source · pub struct ResourceRequest {
pub named_resources: Option<NamedResourcesRequest>,
pub vendor_parameters: Option<RawExtension>,
}
Expand description
ResourceRequest is a request for resources from one particular driver.
Fields§
§named_resources: Option<NamedResourcesRequest>
NamedResources describes a request for resources with the named resources model.
vendor_parameters: Option<RawExtension>
VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.
Trait Implementations§
source§impl Clone for ResourceRequest
impl Clone for ResourceRequest
source§fn clone(&self) -> ResourceRequest
fn clone(&self) -> ResourceRequest
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 ResourceRequest
impl Debug for ResourceRequest
source§impl DeepMerge for ResourceRequest
impl DeepMerge for ResourceRequest
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceRequest
impl Default for ResourceRequest
source§fn default() -> ResourceRequest
fn default() -> ResourceRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceRequest
impl<'de> Deserialize<'de> for ResourceRequest
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 ResourceRequest
impl PartialEq for ResourceRequest
source§fn eq(&self, other: &ResourceRequest) -> bool
fn eq(&self, other: &ResourceRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResourceRequest
impl Serialize for ResourceRequest
impl StructuralPartialEq for ResourceRequest
Auto Trait Implementations§
impl Freeze for ResourceRequest
impl RefUnwindSafe for ResourceRequest
impl Send for ResourceRequest
impl Sync for ResourceRequest
impl Unpin for ResourceRequest
impl UnwindSafe for ResourceRequest
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