pub struct LeaderResponse {
pub active_time: String,
pub ha_enabled: bool,
pub is_self: bool,
pub leader_address: String,
pub leader_cluster_address: String,
pub performance_standby: bool,
pub performance_standby_last_remote_wal: u64,
}Fields§
§active_time: String§ha_enabled: bool§is_self: bool§leader_address: String§leader_cluster_address: String§performance_standby: bool§performance_standby_last_remote_wal: u64Trait Implementations§
Source§impl Debug for LeaderResponse
impl Debug for LeaderResponse
Source§impl<'de> Deserialize<'de> for LeaderResponse
impl<'de> Deserialize<'de> for LeaderResponse
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 LeaderResponse
impl PartialEq for LeaderResponse
Source§fn eq(&self, other: &LeaderResponse) -> bool
fn eq(&self, other: &LeaderResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeaderResponse
Auto Trait Implementations§
impl Freeze for LeaderResponse
impl RefUnwindSafe for LeaderResponse
impl Send for LeaderResponse
impl Sync for LeaderResponse
impl Unpin for LeaderResponse
impl UnsafeUnpin for LeaderResponse
impl UnwindSafe for LeaderResponse
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