pub struct GetOutput {Show 18 fields
pub agent: Option<bool>,
pub clipboard: Option<Clipboard>,
pub cpus: Option<f64>,
pub ha: HaGetOutputHa,
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 spice: Option<bool>,
pub status: Status,
pub tags: Option<String>,
pub uptime: Option<u64>,
pub vmid: VmId,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§agent: Option<bool>
QEMU Guest Agent is enabled in config.
clipboard: Option<Clipboard>
Enable a specific clipboard. If not set, depending on the display type the SPICE one will be added.
cpus: Option<f64>
Maximum usable CPUs.
ha: HaGetOutputHa
HA manager service status.
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).
spice: Option<bool>
QEMU VGA configuration supports spice.
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<'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 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