pub struct NodeCpuResources {
pub cpu_shares: Option<i64>,
pub reservable_cpu_cores: Option<Vec<i32>>,
pub total_cpu_cores: Option<i32>,
}Fields§
§reservable_cpu_cores: Option<Vec<i32>>§total_cpu_cores: Option<i32>Trait Implementations§
Source§impl Clone for NodeCpuResources
impl Clone for NodeCpuResources
Source§fn clone(&self) -> NodeCpuResources
fn clone(&self) -> NodeCpuResources
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 Debug for NodeCpuResources
impl Debug for NodeCpuResources
Source§impl Default for NodeCpuResources
impl Default for NodeCpuResources
Source§fn default() -> NodeCpuResources
fn default() -> NodeCpuResources
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeCpuResources
impl<'de> Deserialize<'de> for NodeCpuResources
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 NodeCpuResources
impl PartialEq for NodeCpuResources
Source§impl Serialize for NodeCpuResources
impl Serialize for NodeCpuResources
impl StructuralPartialEq for NodeCpuResources
Auto Trait Implementations§
impl Freeze for NodeCpuResources
impl RefUnwindSafe for NodeCpuResources
impl Send for NodeCpuResources
impl Sync for NodeCpuResources
impl Unpin for NodeCpuResources
impl UnwindSafe for NodeCpuResources
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