pub struct NodesCephGetMgrResponseDataInner {
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 service: Option<PveBoolean>,
pub state: String,
}Fields§
§addr: Option<String>Address as advertised by the manager; Ceph-formatted (typically ‘IP:PORT/NONCE’).
ceph_version: Option<String>Full Ceph version string of the manager daemon.
ceph_version_short: Option<String>Short Ceph version string of the manager daemon (e.g. ‘19.2.0’).
direxists: Option<PveBoolean>Set when the manager’s data directory exists on this node.
host: Option<String>Host the manager runs on.
name: StringThe name (ID) for the MGR.
service: Option<PveBoolean>Set if a ceph-mgr@
state: StringManager state: ‘active’ or ‘standby’ for daemons visible to the mgr cluster, ‘stopped’ or ‘unknown’ for configured daemons not currently visible.
Implementations§
Source§impl NodesCephGetMgrResponseDataInner
impl NodesCephGetMgrResponseDataInner
pub fn new(name: String, state: String) -> NodesCephGetMgrResponseDataInner
Trait Implementations§
Source§impl Clone for NodesCephGetMgrResponseDataInner
impl Clone for NodesCephGetMgrResponseDataInner
Source§fn clone(&self) -> NodesCephGetMgrResponseDataInner
fn clone(&self) -> NodesCephGetMgrResponseDataInner
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 NodesCephGetMgrResponseDataInner
impl Default for NodesCephGetMgrResponseDataInner
Source§fn default() -> NodesCephGetMgrResponseDataInner
fn default() -> NodesCephGetMgrResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodesCephGetMgrResponseDataInner
impl<'de> Deserialize<'de> for NodesCephGetMgrResponseDataInner
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 NodesCephGetMgrResponseDataInner
impl PartialEq for NodesCephGetMgrResponseDataInner
Source§fn eq(&self, other: &NodesCephGetMgrResponseDataInner) -> bool
fn eq(&self, other: &NodesCephGetMgrResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodesCephGetMgrResponseDataInner
Auto Trait Implementations§
impl Freeze for NodesCephGetMgrResponseDataInner
impl RefUnwindSafe for NodesCephGetMgrResponseDataInner
impl Send for NodesCephGetMgrResponseDataInner
impl Sync for NodesCephGetMgrResponseDataInner
impl Unpin for NodesCephGetMgrResponseDataInner
impl UnsafeUnpin for NodesCephGetMgrResponseDataInner
impl UnwindSafe for NodesCephGetMgrResponseDataInner
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