pub struct CpuMetrics {
pub vcpu_time_ns: Option<u64>,
}Expand description
CPU metrics.
Fields§
§vcpu_time_ns: Option<u64>Cumulative guest vCPU execution time across all vCPUs when available.
Trait Implementations§
Source§impl Clone for CpuMetrics
impl Clone for CpuMetrics
Source§fn clone(&self) -> CpuMetrics
fn clone(&self) -> CpuMetrics
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 CpuMetrics
impl Debug for CpuMetrics
Source§impl Default for CpuMetrics
impl Default for CpuMetrics
Source§fn default() -> CpuMetrics
fn default() -> CpuMetrics
Returns the “default value” for a type. Read more
impl Eq for CpuMetrics
Source§impl PartialEq for CpuMetrics
impl PartialEq for CpuMetrics
impl StructuralPartialEq for CpuMetrics
Auto Trait Implementations§
impl Freeze for CpuMetrics
impl RefUnwindSafe for CpuMetrics
impl Send for CpuMetrics
impl Sync for CpuMetrics
impl Unpin for CpuMetrics
impl UnsafeUnpin for CpuMetrics
impl UnwindSafe for CpuMetrics
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