pub struct ProjectDeployResourceLimits { /* private fields */ }Expand description
Effective deploy resource limits with nested provenance.
Implementations§
Source§impl ProjectDeployResourceLimits
impl ProjectDeployResourceLimits
Sourcepub const fn cpus(&self) -> Option<&ProjectValue<DeployResourceCpus>>
pub const fn cpus(&self) -> Option<&ProjectValue<DeployResourceCpus>>
Returns the effective deploy resource CPU scalar spelling and category.
Sourcepub const fn memory(&self) -> Option<&ProjectValue<DeployResourceMemory>>
pub const fn memory(&self) -> Option<&ProjectValue<DeployResourceMemory>>
Returns the effective deploy resource memory value and its provenance.
Sourcepub const fn pids(&self) -> Option<&ProjectValue<DeployResourcePids>>
pub const fn pids(&self) -> Option<&ProjectValue<DeployResourcePids>>
Returns the effective deploy resource PID scalar spelling and category.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns extensions, unknown fields, and malformed children retained as evidence.
Trait Implementations§
Source§impl Clone for ProjectDeployResourceLimits
impl Clone for ProjectDeployResourceLimits
Source§fn clone(&self) -> ProjectDeployResourceLimits
fn clone(&self) -> ProjectDeployResourceLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectDeployResourceLimits
impl Debug for ProjectDeployResourceLimits
impl Eq for ProjectDeployResourceLimits
impl StructuralPartialEq for ProjectDeployResourceLimits
Auto Trait Implementations§
impl Freeze for ProjectDeployResourceLimits
impl RefUnwindSafe for ProjectDeployResourceLimits
impl Send for ProjectDeployResourceLimits
impl Sync for ProjectDeployResourceLimits
impl Unpin for ProjectDeployResourceLimits
impl UnsafeUnpin for ProjectDeployResourceLimits
impl UnwindSafe for ProjectDeployResourceLimits
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