pub struct IndexCursor {
pub kind: IndexKind,
pub source_scope: String,
pub modality: IndexModality,
pub index_version: u64,
pub indexed_graph_version: GraphVersion,
pub state: IndexState,
pub last_error: Option<String>,
pub source_hash: Option<String>,
pub backend_cursor: Option<String>,
pub model_name: Option<String>,
pub model_dimension: Option<u32>,
}Expand description
Scoped cursor for a derived index read model.
Fields§
§kind: IndexKind§source_scope: String§modality: IndexModality§index_version: u64§indexed_graph_version: GraphVersion§state: IndexState§last_error: Option<String>§source_hash: Option<String>§backend_cursor: Option<String>§model_name: Option<String>§model_dimension: Option<u32>Trait Implementations§
Source§impl Clone for IndexCursor
impl Clone for IndexCursor
Source§fn clone(&self) -> IndexCursor
fn clone(&self) -> IndexCursor
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 IndexCursor
impl Debug for IndexCursor
Source§impl<'de> Deserialize<'de> for IndexCursor
impl<'de> Deserialize<'de> for IndexCursor
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 IndexCursor
impl PartialEq for IndexCursor
Source§fn eq(&self, other: &IndexCursor) -> bool
fn eq(&self, other: &IndexCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexCursor
impl Serialize for IndexCursor
impl Eq for IndexCursor
impl StructuralPartialEq for IndexCursor
Auto Trait Implementations§
impl Freeze for IndexCursor
impl RefUnwindSafe for IndexCursor
impl Send for IndexCursor
impl Sync for IndexCursor
impl Unpin for IndexCursor
impl UnsafeUnpin for IndexCursor
impl UnwindSafe for IndexCursor
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§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.