pub struct GetOutputItems {Show 14 fields
pub cpus: Option<f64>,
pub lock: Option<String>,
pub maxdisk: Option<u64>,
pub maxmem: Option<u64>,
pub name: Option<String>,
pub pid: Option<u64>,
pub qmpstatus: Option<String>,
pub running_machine: Option<String>,
pub running_qemu: Option<String>,
pub status: Status,
pub tags: Option<String>,
pub uptime: Option<u64>,
pub vmid: VmId,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§cpus: Option<f64>
Maximum usable CPUs.
lock: Option<String>
The current config lock, if any.
maxdisk: Option<u64>
Root disk size in bytes.
maxmem: Option<u64>
Maximum memory in bytes.
name: Option<String>
VM name.
pid: Option<u64>
PID of running qemu process.
qmpstatus: Option<String>
VM run state from the ‘query-status’ QMP monitor command.
running_machine: Option<String>
The currently running machine type (if running).
running_qemu: Option<String>
The currently running QEMU version (if running).
status: Status
QEMU process status.
The current configured tags, if any
uptime: Option<u64>
Uptime.
vmid: VmId
The (unique) ID of the VM.
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Clone for GetOutputItems
impl Clone for GetOutputItems
Source§fn clone(&self) -> GetOutputItems
fn clone(&self) -> GetOutputItems
Returns a copy 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 GetOutputItems
impl Debug for GetOutputItems
Source§impl<'de> Deserialize<'de> for GetOutputItems
impl<'de> Deserialize<'de> for GetOutputItems
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 GetOutputItems
impl RefUnwindSafe for GetOutputItems
impl Send for GetOutputItems
impl Sync for GetOutputItems
impl Unpin for GetOutputItems
impl UnwindSafe for GetOutputItems
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