pub struct ClusterCephMetadataResponseData {
pub mds: HashMap<String, ClusterCephMetadataResponseDataMdsValue>,
pub mgr: HashMap<String, ClusterCephMetadataResponseDataMgrValue>,
pub mon: HashMap<String, ClusterCephMetadataResponseDataMonValue>,
pub node: HashMap<String, ClusterCephMetadataResponseDataNodeValue>,
pub osd: Vec<ClusterCephMetadataResponseDataOsdInner>,
}Fields§
§mds: HashMap<String, ClusterCephMetadataResponseDataMdsValue>Metadata servers configured in the cluster and their properties, keyed by ‘
mgr: HashMap<String, ClusterCephMetadataResponseDataMgrValue>Managers configured in the cluster and their properties, keyed by ‘
mon: HashMap<String, ClusterCephMetadataResponseDataMonValue>Monitors configured in the cluster and their properties, keyed by ‘
node: HashMap<String, ClusterCephMetadataResponseDataNodeValue>Ceph version installed on the nodes, keyed by node name.
osd: Vec<ClusterCephMetadataResponseDataOsdInner>OSDs configured in the cluster and their properties.
Implementations§
Source§impl ClusterCephMetadataResponseData
impl ClusterCephMetadataResponseData
pub fn new( mds: HashMap<String, ClusterCephMetadataResponseDataMdsValue>, mgr: HashMap<String, ClusterCephMetadataResponseDataMgrValue>, mon: HashMap<String, ClusterCephMetadataResponseDataMonValue>, node: HashMap<String, ClusterCephMetadataResponseDataNodeValue>, osd: Vec<ClusterCephMetadataResponseDataOsdInner>, ) -> ClusterCephMetadataResponseData
Trait Implementations§
Source§impl Clone for ClusterCephMetadataResponseData
impl Clone for ClusterCephMetadataResponseData
Source§fn clone(&self) -> ClusterCephMetadataResponseData
fn clone(&self) -> ClusterCephMetadataResponseData
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 ClusterCephMetadataResponseData
impl Default for ClusterCephMetadataResponseData
Source§fn default() -> ClusterCephMetadataResponseData
fn default() -> ClusterCephMetadataResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterCephMetadataResponseData
impl<'de> Deserialize<'de> for ClusterCephMetadataResponseData
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 ClusterCephMetadataResponseData
impl PartialEq for ClusterCephMetadataResponseData
Source§fn eq(&self, other: &ClusterCephMetadataResponseData) -> bool
fn eq(&self, other: &ClusterCephMetadataResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterCephMetadataResponseData
Auto Trait Implementations§
impl Freeze for ClusterCephMetadataResponseData
impl RefUnwindSafe for ClusterCephMetadataResponseData
impl Send for ClusterCephMetadataResponseData
impl Sync for ClusterCephMetadataResponseData
impl Unpin for ClusterCephMetadataResponseData
impl UnsafeUnpin for ClusterCephMetadataResponseData
impl UnwindSafe for ClusterCephMetadataResponseData
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