pub struct Args {
pub raw: Vec<String>,
pub parsed: HashMap<String, Value>,
}
Expand description
Arguments to QEMU as passed to qemu_plugin_install
. qemu_plugin_install
takes a comma-separated list of key=value pairs, such as
val1=foo,val2=bar
.
Fields§
§raw: Vec<String>
Arguments to the QEMU plugin as passed in by QEMU. Each entry is a key=value pair where the key is the name of the argument and the value is the value of the argument.
parsed: HashMap<String, Value>
Arguments to the QEMU plugin, parsed into valid argument types and value
types. Each key is the name of the argument and the value is a Value
enum which can be a boolean, integer, or string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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