pub struct GetParameters {
pub disk: String,
pub healthonly: Option<bool>,
}Fields§
§disk: StringBlock device name
healthonly: Option<bool>If true returns only the health status
Trait Implementations§
Source§impl Clone for GetParameters
impl Clone for GetParameters
Source§fn clone(&self) -> GetParameters
fn clone(&self) -> GetParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetParameters
impl Debug for GetParameters
Source§impl<'de> Deserialize<'de> for GetParameters
impl<'de> Deserialize<'de> for GetParameters
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
Source§impl PartialEq for GetParameters
impl PartialEq for GetParameters
Source§impl Serialize for GetParameters
impl Serialize for GetParameters
impl StructuralPartialEq for GetParameters
Auto Trait Implementations§
impl Freeze for GetParameters
impl RefUnwindSafe for GetParameters
impl Send for GetParameters
impl Sync for GetParameters
impl Unpin for GetParameters
impl UnwindSafe for GetParameters
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