pub struct ReplicaState {
pub replica: ReplicaRef,
pub phase: ReplicaPhase,
pub address: Option<EndpointAddress>,
pub started_at_ms: Option<u64>,
}Expand description
One row of Provider::list, used for reconciliation (C5, C12).
Fields§
§replica: ReplicaRefWhich replica.
phase: ReplicaPhaseIts phase.
address: Option<EndpointAddress>Its address once known.
started_at_ms: Option<u64>Start time in unix milliseconds when the provider reports it.
Trait Implementations§
Source§impl Clone for ReplicaState
impl Clone for ReplicaState
Source§impl Debug for ReplicaState
impl Debug for ReplicaState
Source§impl<'de> Deserialize<'de> for ReplicaState
impl<'de> Deserialize<'de> for ReplicaState
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 ReplicaState
Source§impl PartialEq for ReplicaState
impl PartialEq for ReplicaState
Source§impl Serialize for ReplicaState
impl Serialize for ReplicaState
impl StructuralPartialEq for ReplicaState
Auto Trait Implementations§
impl Forget for ReplicaState
impl Freeze for ReplicaState
impl Move for ReplicaState
impl RefUnwindSafe for ReplicaState
impl Send for ReplicaState
impl Sync for ReplicaState
impl Unpin for ReplicaState
impl UnsafeUnpin for ReplicaState
impl UnwindSafe for ReplicaState
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.