pub struct PodSealStatus {Show 20 fields
pub type_: String,
pub initialized: bool,
pub sealed: bool,
pub t: u8,
pub n: u8,
pub progress: u8,
pub nonce: String,
pub version: String,
pub build_date: String,
pub migration: bool,
pub recovery_seal: bool,
pub storage_type: String,
pub ha_enabled: Option<bool>,
pub cluster_name: Option<String>,
pub cluster_id: Option<String>,
pub active_time: Option<String>,
pub leader_address: Option<String>,
pub leader_cluster_address: Option<String>,
pub raft_committed_index: Option<u64>,
pub raft_applied_index: Option<u64>,
}Fields§
§type_: String§initialized: bool§sealed: bool§t: u8§n: u8§progress: u8§nonce: String§version: String§build_date: String§migration: bool§recovery_seal: bool§storage_type: String§ha_enabled: Option<bool>§cluster_name: Option<String>§cluster_id: Option<String>§active_time: Option<String>§leader_address: Option<String>§leader_cluster_address: Option<String>§raft_committed_index: Option<u64>§raft_applied_index: Option<u64>Trait Implementations§
Source§impl Debug for PodSealStatus
impl Debug for PodSealStatus
Source§impl<'de> Deserialize<'de> for PodSealStatus
impl<'de> Deserialize<'de> for PodSealStatus
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
Auto Trait Implementations§
impl Freeze for PodSealStatus
impl RefUnwindSafe for PodSealStatus
impl Send for PodSealStatus
impl Sync for PodSealStatus
impl Unpin for PodSealStatus
impl UnwindSafe for PodSealStatus
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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