pub struct Device {
pub address: String,
pub storage: String,
pub storage_title: String,
pub storage_size: u64,
pub kind: &'static str,
pub boot_disk: bool,
}Expand description
How a device rides on a server. UpCloud’s address is virtio:N or ide:B:D,
and a detach names the ADDRESS, never the storage uuid.
Fields§
§address: String§storage: String§storage_title: String§storage_size: u64§kind: &'static str§boot_disk: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnsafeUnpin for Device
impl UnwindSafe for Device
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