pub struct NodesCephGetOsdResponseData {
pub flags: Option<String>,
pub root: Value,
}Fields§
§flags: Option<String>Comma-joined list of currently-set OSD flags; absent when no flags are set on the cluster.
root: ValueTop-level CRUSH bucket; recursive structure with ‘children’ lists holding nested buckets and OSD leaves. Per-node properties (status, weight, in, usage, latencies, etc.) vary by node type and are not statically typed here.
Implementations§
Source§impl NodesCephGetOsdResponseData
impl NodesCephGetOsdResponseData
pub fn new(root: Value) -> NodesCephGetOsdResponseData
Trait Implementations§
Source§impl Clone for NodesCephGetOsdResponseData
impl Clone for NodesCephGetOsdResponseData
Source§fn clone(&self) -> NodesCephGetOsdResponseData
fn clone(&self) -> NodesCephGetOsdResponseData
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 Debug for NodesCephGetOsdResponseData
impl Debug for NodesCephGetOsdResponseData
Source§impl Default for NodesCephGetOsdResponseData
impl Default for NodesCephGetOsdResponseData
Source§fn default() -> NodesCephGetOsdResponseData
fn default() -> NodesCephGetOsdResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesCephGetOsdResponseData
impl<'de> Deserialize<'de> for NodesCephGetOsdResponseData
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 NodesCephGetOsdResponseData
impl PartialEq for NodesCephGetOsdResponseData
Source§fn eq(&self, other: &NodesCephGetOsdResponseData) -> bool
fn eq(&self, other: &NodesCephGetOsdResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesCephGetOsdResponseData
Auto Trait Implementations§
impl Freeze for NodesCephGetOsdResponseData
impl RefUnwindSafe for NodesCephGetOsdResponseData
impl Send for NodesCephGetOsdResponseData
impl Sync for NodesCephGetOsdResponseData
impl Unpin for NodesCephGetOsdResponseData
impl UnsafeUnpin for NodesCephGetOsdResponseData
impl UnwindSafe for NodesCephGetOsdResponseData
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