pub struct IndexStalenessReason {
pub kind: IndexKind,
pub source_scope: Option<String>,
pub modality: Option<IndexModality>,
pub reason: String,
pub lag_versions: u64,
pub last_error: Option<String>,
}Expand description
Structured reason explaining why an index family or scoped cursor is stale.
Fields§
§kind: IndexKind§source_scope: Option<String>§modality: Option<IndexModality>§reason: String§lag_versions: u64§last_error: Option<String>Trait Implementations§
Source§impl Clone for IndexStalenessReason
impl Clone for IndexStalenessReason
Source§fn clone(&self) -> IndexStalenessReason
fn clone(&self) -> IndexStalenessReason
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 IndexStalenessReason
impl Debug for IndexStalenessReason
Source§impl<'de> Deserialize<'de> for IndexStalenessReason
impl<'de> Deserialize<'de> for IndexStalenessReason
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 IndexStalenessReason
impl PartialEq for IndexStalenessReason
Source§fn eq(&self, other: &IndexStalenessReason) -> bool
fn eq(&self, other: &IndexStalenessReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexStalenessReason
impl Serialize for IndexStalenessReason
impl Eq for IndexStalenessReason
impl StructuralPartialEq for IndexStalenessReason
Auto Trait Implementations§
impl Freeze for IndexStalenessReason
impl RefUnwindSafe for IndexStalenessReason
impl Send for IndexStalenessReason
impl Sync for IndexStalenessReason
impl Unpin for IndexStalenessReason
impl UnsafeUnpin for IndexStalenessReason
impl UnwindSafe for IndexStalenessReason
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