pub struct GetParams {
pub disk: String,
pub healthonly: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§disk: String
Block device name
healthonly: Option<bool>
If true returns only the health status
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetParams
impl<'de> Deserialize<'de> for GetParams
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 GetParams
impl RefUnwindSafe for GetParams
impl Send for GetParams
impl Sync for GetParams
impl Unpin for GetParams
impl UnwindSafe for GetParams
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