pub struct CollectionDescriptor {Show 39 fields
pub name: String,
pub model: CollectionModel,
pub schema_mode: SchemaMode,
pub contract_present: bool,
pub contract_origin: Option<ContractOrigin>,
pub declared_model: Option<CollectionModel>,
pub observed_model: CollectionModel,
pub queue_mode: Option<QueueMode>,
pub queue_max_attempts: Option<u32>,
pub queue_lock_deadline_ms: Option<u64>,
pub queue_in_flight_cap_per_group: Option<u32>,
pub queue_dlq_target: Option<String>,
pub vector_dimension: Option<usize>,
pub vector_metric: Option<DistanceMetric>,
pub session_key: Option<String>,
pub session_gap_ms: Option<u64>,
pub retention_duration_ms: Option<u64>,
pub declared_schema_mode: Option<SchemaMode>,
pub observed_schema_mode: SchemaMode,
pub entities: usize,
pub cross_refs: usize,
pub segments: usize,
pub indices: Vec<String>,
pub declared_indices: Vec<String>,
pub operational_indices: Vec<String>,
pub indexes_in_sync: bool,
pub missing_operational_indices: Vec<String>,
pub undeclared_operational_indices: Vec<String>,
pub queryable_index_count: usize,
pub indexes_requiring_rebuild_count: usize,
pub queryable_graph_projection_count: usize,
pub graph_projections_requiring_rematerialization_count: usize,
pub executable_analytics_job_count: usize,
pub analytics_jobs_requiring_rerun_count: usize,
pub subscriptions: Vec<SubscriptionDescriptor>,
pub resources_in_sync: bool,
pub attention_required: bool,
pub attention_score: usize,
pub attention_reasons: Vec<String>,
}Fields§
§name: String§model: CollectionModel§schema_mode: SchemaMode§contract_present: bool§contract_origin: Option<ContractOrigin>§declared_model: Option<CollectionModel>§observed_model: CollectionModel§queue_mode: Option<QueueMode>§queue_max_attempts: Option<u32>MAX_ATTEMPTS per-queue policy. Hot-fields tier — populated for
model = queue from the catalog snapshot for sub-ms reads by
QueueLifecycle. None for non-queue collections.
queue_lock_deadline_ms: Option<u64>LOCK_DEADLINE_MS per-queue policy. Hot-fields tier.
queue_in_flight_cap_per_group: Option<u32>IN_FLIGHT_CAP_PER_GROUP per-queue policy. Hot-fields tier.
queue_dlq_target: Option<String>DLQ target collection name. None means on-max drop.
vector_dimension: Option<usize>§vector_metric: Option<DistanceMetric>§session_key: Option<String>WITH SESSION_KEY <col> declared on the timeseries collection.
None for non-timeseries and for timeseries without the clause.
Issue #576 slice 1.
session_gap_ms: Option<u64>SESSION_GAP <duration> in milliseconds declared on the
timeseries collection. Issue #576 slice 1.
retention_duration_ms: Option<u64>Declarative retention duration in milliseconds. None means no
retention policy is enforced. Set via ALTER COLLECTION ... SET RETENTION <duration>. Issue #580 slice 1.
declared_schema_mode: Option<SchemaMode>§observed_schema_mode: SchemaMode§entities: usize§cross_refs: usize§segments: usize§indices: Vec<String>§declared_indices: Vec<String>§operational_indices: Vec<String>§indexes_in_sync: bool§missing_operational_indices: Vec<String>§undeclared_operational_indices: Vec<String>§queryable_index_count: usize§indexes_requiring_rebuild_count: usize§queryable_graph_projection_count: usize§graph_projections_requiring_rematerialization_count: usize§executable_analytics_job_count: usize§analytics_jobs_requiring_rerun_count: usize§subscriptions: Vec<SubscriptionDescriptor>§resources_in_sync: bool§attention_required: bool§attention_score: usize§attention_reasons: Vec<String>Trait Implementations§
Source§impl Clone for CollectionDescriptor
impl Clone for CollectionDescriptor
Source§fn clone(&self) -> CollectionDescriptor
fn clone(&self) -> CollectionDescriptor
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 moreAuto Trait Implementations§
impl Freeze for CollectionDescriptor
impl RefUnwindSafe for CollectionDescriptor
impl Send for CollectionDescriptor
impl Sync for CollectionDescriptor
impl Unpin for CollectionDescriptor
impl UnsafeUnpin for CollectionDescriptor
impl UnwindSafe for CollectionDescriptor
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request