pub struct GetOutput {
pub boot_info: BootInfoGetOutputBootInfo,
pub cpu: f64,
pub cpuinfo: CpuinfoGetOutputCpuinfo,
pub current_kernel: CurrentKernelGetOutputCurrentKernel,
pub loadavg: Vec<String>,
pub memory: MemoryGetOutputMemory,
pub pveversion: String,
pub rootfs: RootfsGetOutputRootfs,
pub additional_properties: HashMap<String, Value>,
}Fields§
§boot_info: BootInfoGetOutputBootInfoMeta-information about the boot mode.
cpu: f64The current cpu usage.
cpuinfo: CpuinfoGetOutputCpuinfo§current_kernel: CurrentKernelGetOutputCurrentKernelMeta-information about the currently booted kernel of this node.
loadavg: Vec<String>An array of load avg for 1, 5 and 15 minutes respectively.
memory: MemoryGetOutputMemory§pveversion: StringThe PVE version string.
rootfs: RootfsGetOutputRootfs§additional_properties: HashMap<String, Value>Implementations§
Source§impl GetOutput
impl GetOutput
pub fn new( boot_info: BootInfoGetOutputBootInfo, cpu: f64, cpuinfo: CpuinfoGetOutputCpuinfo, current_kernel: CurrentKernelGetOutputCurrentKernel, loadavg: Vec<String>, memory: MemoryGetOutputMemory, pveversion: String, rootfs: RootfsGetOutputRootfs, ) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOutput
impl<'de> Deserialize<'de> for GetOutput
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 GetOutput
impl RefUnwindSafe for GetOutput
impl Send for GetOutput
impl Sync for GetOutput
impl Unpin for GetOutput
impl UnsafeUnpin for GetOutput
impl UnwindSafe for GetOutput
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