pub struct DeploymentResourcesLimits {
pub cpus: Option<NumOrStr>,
pub memory: Option<String>,
pub pids: Option<NumOrStr>,
}
Fields§
§cpus: Option<NumOrStr>
§memory: Option<String>
§pids: Option<NumOrStr>
Trait Implementations§
Source§impl Clone for DeploymentResourcesLimits
impl Clone for DeploymentResourcesLimits
Source§fn clone(&self) -> DeploymentResourcesLimits
fn clone(&self) -> DeploymentResourcesLimits
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 DeploymentResourcesLimits
impl Debug for DeploymentResourcesLimits
Source§impl<'de> Deserialize<'de> for DeploymentResourcesLimits
impl<'de> Deserialize<'de> for DeploymentResourcesLimits
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 PartialOrd for DeploymentResourcesLimits
impl PartialOrd for DeploymentResourcesLimits
impl StructuralPartialEq for DeploymentResourcesLimits
Auto Trait Implementations§
impl Freeze for DeploymentResourcesLimits
impl RefUnwindSafe for DeploymentResourcesLimits
impl Send for DeploymentResourcesLimits
impl Sync for DeploymentResourcesLimits
impl Unpin for DeploymentResourcesLimits
impl UnwindSafe for DeploymentResourcesLimits
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
)