pub struct SqlPingReplica {
pub endpoint: String,
pub healthy: bool,
pub phase: String,
pub tcp_reachable: bool,
}Expand description
One replica’s reachability, returned by OperatorSql::ping.
Fields§
§endpoint: StringThe replica’s endpoint (host:port).
healthy: boolThe stored health flag (what the endpoint resolver gates serving on).
phase: StringThe replica’s lifecycle phase (running / zero).
tcp_reachable: boolWhether a TCP connection to the endpoint succeeded just now.
Trait Implementations§
Source§impl Clone for SqlPingReplica
impl Clone for SqlPingReplica
Source§fn clone(&self) -> SqlPingReplica
fn clone(&self) -> SqlPingReplica
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 Debug for SqlPingReplica
impl Debug for SqlPingReplica
impl Eq for SqlPingReplica
Source§impl PartialEq for SqlPingReplica
impl PartialEq for SqlPingReplica
impl StructuralPartialEq for SqlPingReplica
Auto Trait Implementations§
impl Freeze for SqlPingReplica
impl RefUnwindSafe for SqlPingReplica
impl Send for SqlPingReplica
impl Sync for SqlPingReplica
impl Unpin for SqlPingReplica
impl UnsafeUnpin for SqlPingReplica
impl UnwindSafe for SqlPingReplica
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.