pub struct DeploymentResourcesReservations {
pub cpus: Option<NumOrStr>,
pub devices: Option<Vec<DevicesItem>>,
pub generic_resources: Option<Vec<GenericResourcesItem>>,
pub memory: Option<String>,
}
Fields§
§cpus: Option<NumOrStr>
§devices: Option<Vec<DevicesItem>>
§generic_resources: Option<Vec<GenericResourcesItem>>
§memory: Option<String>
Trait Implementations§
Source§impl Clone for DeploymentResourcesReservations
impl Clone for DeploymentResourcesReservations
Source§fn clone(&self) -> DeploymentResourcesReservations
fn clone(&self) -> DeploymentResourcesReservations
Returns a duplicate 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<'de> Deserialize<'de> for DeploymentResourcesReservations
impl<'de> Deserialize<'de> for DeploymentResourcesReservations
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 DeploymentResourcesReservations
impl PartialEq for DeploymentResourcesReservations
Source§fn eq(&self, other: &DeploymentResourcesReservations) -> bool
fn eq(&self, other: &DeploymentResourcesReservations) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for DeploymentResourcesReservations
impl PartialOrd for DeploymentResourcesReservations
impl StructuralPartialEq for DeploymentResourcesReservations
Auto Trait Implementations§
impl Freeze for DeploymentResourcesReservations
impl RefUnwindSafe for DeploymentResourcesReservations
impl Send for DeploymentResourcesReservations
impl Sync for DeploymentResourcesReservations
impl Unpin for DeploymentResourcesReservations
impl UnwindSafe for DeploymentResourcesReservations
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