pub struct NodesDisksGetSmartResponseData {
pub attributes: Vec<NodesDisksGetSmartResponseDataAttributesInner>,
pub status: PbsStatusEnum,
pub wearout: Option<f64>,
}Fields§
§attributes: Vec<NodesDisksGetSmartResponseDataAttributesInner>SMART attributes.
status: PbsStatusEnumSMART status
wearout: Option<f64>Wearout level.
Implementations§
Source§impl NodesDisksGetSmartResponseData
impl NodesDisksGetSmartResponseData
pub fn new( attributes: Vec<NodesDisksGetSmartResponseDataAttributesInner>, status: PbsStatusEnum, ) -> NodesDisksGetSmartResponseData
Trait Implementations§
Source§impl Clone for NodesDisksGetSmartResponseData
impl Clone for NodesDisksGetSmartResponseData
Source§fn clone(&self) -> NodesDisksGetSmartResponseData
fn clone(&self) -> NodesDisksGetSmartResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for NodesDisksGetSmartResponseData
impl Default for NodesDisksGetSmartResponseData
Source§fn default() -> NodesDisksGetSmartResponseData
fn default() -> NodesDisksGetSmartResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesDisksGetSmartResponseData
impl<'de> Deserialize<'de> for NodesDisksGetSmartResponseData
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 NodesDisksGetSmartResponseData
impl PartialEq for NodesDisksGetSmartResponseData
Source§fn eq(&self, other: &NodesDisksGetSmartResponseData) -> bool
fn eq(&self, other: &NodesDisksGetSmartResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesDisksGetSmartResponseData
Auto Trait Implementations§
impl Freeze for NodesDisksGetSmartResponseData
impl RefUnwindSafe for NodesDisksGetSmartResponseData
impl Send for NodesDisksGetSmartResponseData
impl Sync for NodesDisksGetSmartResponseData
impl Unpin for NodesDisksGetSmartResponseData
impl UnsafeUnpin for NodesDisksGetSmartResponseData
impl UnwindSafe for NodesDisksGetSmartResponseData
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