pub struct NodesCephListmonResponseDataInner {
pub addr: Option<String>,
pub ceph_version: Option<String>,
pub ceph_version_short: Option<String>,
pub direxists: Option<PveBoolean>,
pub host: Option<String>,
pub name: String,
pub quorum: Option<PveBoolean>,
pub rank: Option<i64>,
pub service: Option<PveBoolean>,
pub state: Option<String>,
}Fields§
§addr: Option<String>Address as advertised by the monitor; Ceph-formatted (typically ‘IP:PORT/NONCE’, possibly as a messenger-v2 vector depending on Ceph version and ceph.conf shape).
ceph_version: Option<String>Full Ceph version string of the monitor daemon.
ceph_version_short: Option<String>Short Ceph version string of the monitor daemon (e.g. ‘19.2.0’).
direxists: Option<PveBoolean>Set when the monitor’s data directory exists on this node.
host: Option<String>Host the monitor runs on.
name: StringMonitor id (typically the hostname).
quorum: Option<PveBoolean>Set when the monitor is part of the current quorum.
rank: Option<i64>Rank of the monitor within the mon map.
service: Option<PveBoolean>Set if a ceph-mon@
state: Option<String>Run state of the monitor: ‘running’ (in quorum), ‘stopped’ (systemd unit configured but daemon not visible to the cluster), or ‘unknown’ (no rados access).
Implementations§
Source§impl NodesCephListmonResponseDataInner
impl NodesCephListmonResponseDataInner
pub fn new(name: String) -> NodesCephListmonResponseDataInner
Trait Implementations§
Source§impl Clone for NodesCephListmonResponseDataInner
impl Clone for NodesCephListmonResponseDataInner
Source§fn clone(&self) -> NodesCephListmonResponseDataInner
fn clone(&self) -> NodesCephListmonResponseDataInner
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 NodesCephListmonResponseDataInner
impl Default for NodesCephListmonResponseDataInner
Source§fn default() -> NodesCephListmonResponseDataInner
fn default() -> NodesCephListmonResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesCephListmonResponseDataInner
impl<'de> Deserialize<'de> for NodesCephListmonResponseDataInner
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 NodesCephListmonResponseDataInner
impl PartialEq for NodesCephListmonResponseDataInner
Source§fn eq(&self, other: &NodesCephListmonResponseDataInner) -> bool
fn eq(&self, other: &NodesCephListmonResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesCephListmonResponseDataInner
Auto Trait Implementations§
impl Freeze for NodesCephListmonResponseDataInner
impl RefUnwindSafe for NodesCephListmonResponseDataInner
impl Send for NodesCephListmonResponseDataInner
impl Sync for NodesCephListmonResponseDataInner
impl Unpin for NodesCephListmonResponseDataInner
impl UnsafeUnpin for NodesCephListmonResponseDataInner
impl UnwindSafe for NodesCephListmonResponseDataInner
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