pub struct ReplicationCheckResult {
pub contract_version: Option<u32>,
pub status: ReplicationCheckStatus,
pub active_mutation: bool,
pub mutation_description: String,
pub probe_namespace: String,
pub targets: Vec<ReplicationCheckTarget>,
pub legacy_empty_response: bool,
}Expand description
Result of the active replication-target validation extension.
Fields§
§contract_version: Option<u32>Optional explicit contract version for forward-compatible servers.
status: ReplicationCheckStatus§active_mutation: bool§mutation_description: String§probe_namespace: String§targets: Vec<ReplicationCheckTarget>§legacy_empty_response: boolTrue only for the successful empty-body contract used by older servers.
Implementations§
Source§impl ReplicationCheckResult
impl ReplicationCheckResult
Sourcepub fn legacy_success() -> Self
pub fn legacy_success() -> Self
Represent the legacy server contract that returned no target detail.
pub fn succeeded(&self) -> bool
Trait Implementations§
Source§impl Clone for ReplicationCheckResult
impl Clone for ReplicationCheckResult
Source§fn clone(&self) -> ReplicationCheckResult
fn clone(&self) -> ReplicationCheckResult
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 ReplicationCheckResult
impl Debug for ReplicationCheckResult
Source§impl<'de> Deserialize<'de> for ReplicationCheckResult
impl<'de> Deserialize<'de> for ReplicationCheckResult
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
impl Eq for ReplicationCheckResult
Source§impl PartialEq for ReplicationCheckResult
impl PartialEq for ReplicationCheckResult
Source§impl Serialize for ReplicationCheckResult
impl Serialize for ReplicationCheckResult
impl StructuralPartialEq for ReplicationCheckResult
Auto Trait Implementations§
impl Freeze for ReplicationCheckResult
impl RefUnwindSafe for ReplicationCheckResult
impl Send for ReplicationCheckResult
impl Sync for ReplicationCheckResult
impl Unpin for ReplicationCheckResult
impl UnsafeUnpin for ReplicationCheckResult
impl UnwindSafe for ReplicationCheckResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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