pub struct ClusterStatus {Show 13 fields
pub collected_at: String,
pub partial: bool,
pub missing: Vec<Missing>,
pub worst: String,
pub conditions: Vec<Condition>,
pub members: Vec<(String, u64)>,
pub members_version: u64,
pub quorum: bool,
pub syncing_blocks: u64,
pub stopped: bool,
pub planned_stop: bool,
pub stopped_at: Option<String>,
pub nodes: Vec<NodeStatus>,
}Fields§
§collected_at: String§partial: bool§missing: Vec<Missing>§worst: String§conditions: Vec<Condition>§members: Vec<(String, u64)>§members_version: u64§quorum: bool§syncing_blocks: u64§stopped: boolEvery node that answered is in drain: the cluster is stopped (a planned stop, or all drained by hand).
planned_stop: boolThe S3 stop list exists: the stop was POST /cluster/stop.
stopped_at: Option<String>§nodes: Vec<NodeStatus>Trait Implementations§
Source§impl Clone for ClusterStatus
impl Clone for ClusterStatus
Source§impl Debug for ClusterStatus
impl Debug for ClusterStatus
Source§impl Default for ClusterStatus
impl Default for ClusterStatus
Source§impl PartialEq for ClusterStatus
impl PartialEq for ClusterStatus
impl StructuralPartialEq for ClusterStatus
Auto Trait Implementations§
impl Freeze for ClusterStatus
impl RefUnwindSafe for ClusterStatus
impl Send for ClusterStatus
impl Sync for ClusterStatus
impl Unpin for ClusterStatus
impl UnsafeUnpin for ClusterStatus
impl UnwindSafe for ClusterStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more