pub struct GetOutput {
pub format: String,
pub notes: Option<String>,
pub path: String,
pub protected: Option<bool>,
pub size: u64,
pub used: u64,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§format: String
Format identifier (‘raw’, ‘qcow2’, ‘subvol’, ‘iso’, ‘tgz’ …)
notes: Option<String>
Optional notes.
path: String
The Path
protected: Option<bool>
Protection status. Currently only supported for backups.
size: u64
Volume size in bytes.
used: u64
Used space. Please note that most storage plugins do not report anything useful here.
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