pub struct IndexRootCutV1 {
pub format_version: u16,
pub cut_id: RootCutId,
pub collection_index_ref: CollectionIndexRef,
pub index_revision: IndexRevision,
pub admission_generation: AdmissionGeneration,
pub schema_generation: SchemaGeneration,
pub routing_revision: RoutingRevision,
pub policy_generation: PolicyGeneration,
pub committed_position: CommittedLogPositionV1,
pub committed_at: MonotonicCommitTimeV1,
pub shards: Vec<PinnedManifestBindingV1>,
pub source_cut: Option<SourceCutV1>,
}Expand description
One complete index-level catalog cut. Shards are never resolved separately.
Fields§
§format_version: u16§cut_id: RootCutId§collection_index_ref: CollectionIndexRef§index_revision: IndexRevision§admission_generation: AdmissionGeneration§schema_generation: SchemaGeneration§routing_revision: RoutingRevision§policy_generation: PolicyGeneration§committed_position: CommittedLogPositionV1§committed_at: MonotonicCommitTimeV1§shards: Vec<PinnedManifestBindingV1>§source_cut: Option<SourceCutV1>Implementations§
Source§impl IndexRootCutV1
impl IndexRootCutV1
pub fn validate(&self) -> Result<(), RootHistoryContractError>
Trait Implementations§
Source§impl Clone for IndexRootCutV1
impl Clone for IndexRootCutV1
Source§impl Debug for IndexRootCutV1
impl Debug for IndexRootCutV1
Source§impl<'de> Deserialize<'de> for IndexRootCutV1
impl<'de> Deserialize<'de> for IndexRootCutV1
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 IndexRootCutV1
Source§impl PartialEq for IndexRootCutV1
impl PartialEq for IndexRootCutV1
Source§impl Serialize for IndexRootCutV1
impl Serialize for IndexRootCutV1
impl StructuralPartialEq for IndexRootCutV1
Auto Trait Implementations§
impl Freeze for IndexRootCutV1
impl RefUnwindSafe for IndexRootCutV1
impl Send for IndexRootCutV1
impl Sync for IndexRootCutV1
impl Unpin for IndexRootCutV1
impl UnsafeUnpin for IndexRootCutV1
impl UnwindSafe for IndexRootCutV1
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