pub struct CpuinfoGetOutputCpuinfo {
pub cores: i64,
pub cpus: i64,
pub model: String,
pub sockets: i64,
pub additional_properties: HashMap<String, Value>,
}Fields§
§cores: i64The number of physical cores of the CPU.
cpus: i64The number of logical threads of the CPU.
model: StringThe CPU model
sockets: i64The number of logical threads of the CPU.
additional_properties: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for CpuinfoGetOutputCpuinfo
impl Clone for CpuinfoGetOutputCpuinfo
Source§fn clone(&self) -> CpuinfoGetOutputCpuinfo
fn clone(&self) -> CpuinfoGetOutputCpuinfo
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 CpuinfoGetOutputCpuinfo
impl Debug for CpuinfoGetOutputCpuinfo
Source§impl<'de> Deserialize<'de> for CpuinfoGetOutputCpuinfo
impl<'de> Deserialize<'de> for CpuinfoGetOutputCpuinfo
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
Auto Trait Implementations§
impl Freeze for CpuinfoGetOutputCpuinfo
impl RefUnwindSafe for CpuinfoGetOutputCpuinfo
impl Send for CpuinfoGetOutputCpuinfo
impl Sync for CpuinfoGetOutputCpuinfo
impl Unpin for CpuinfoGetOutputCpuinfo
impl UnsafeUnpin for CpuinfoGetOutputCpuinfo
impl UnwindSafe for CpuinfoGetOutputCpuinfo
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