15 lines
329 B
Rust
15 lines
329 B
Rust
#[zbus::proxy(
|
|
default_service = "org.qemu",
|
|
interface = "org.qemu.Display1.VM",
|
|
default_path = "/org/qemu/Display1/VM"
|
|
)]
|
|
pub trait VM {
|
|
/// Name property
|
|
#[zbus(property)]
|
|
fn name(&self) -> zbus::Result<String>;
|
|
|
|
/// UUID property
|
|
#[zbus(property)]
|
|
fn uuid(&self) -> zbus::Result<String>;
|
|
}
|