pub struct LimitsEntitlement {
pub cpu_seconds: Option<u64>,
pub memory_mb: u64,
pub file_descriptors: u32,
pub processes: u32,
}Fields§
§cpu_seconds: Option<u64>§memory_mb: u64§file_descriptors: u32§processes: u32Trait Implementations§
Source§impl Clone for LimitsEntitlement
impl Clone for LimitsEntitlement
Source§fn clone(&self) -> LimitsEntitlement
fn clone(&self) -> LimitsEntitlement
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 LimitsEntitlement
impl Debug for LimitsEntitlement
Source§impl Default for LimitsEntitlement
impl Default for LimitsEntitlement
Source§fn default() -> LimitsEntitlement
fn default() -> LimitsEntitlement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LimitsEntitlement
impl<'de> Deserialize<'de> for LimitsEntitlement
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 LimitsEntitlement
impl PartialEq for LimitsEntitlement
Source§fn eq(&self, other: &LimitsEntitlement) -> bool
fn eq(&self, other: &LimitsEntitlement) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LimitsEntitlement
impl Serialize for LimitsEntitlement
impl StructuralPartialEq for LimitsEntitlement
Auto Trait Implementations§
impl Freeze for LimitsEntitlement
impl RefUnwindSafe for LimitsEntitlement
impl Send for LimitsEntitlement
impl Sync for LimitsEntitlement
impl Unpin for LimitsEntitlement
impl UnsafeUnpin for LimitsEntitlement
impl UnwindSafe for LimitsEntitlement
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