pub struct ResolveInfo {
pub partition: PartitionId,
pub placement_kind: &'static str,
pub cluster: ClusterId,
pub index: IndexName,
pub epoch: Epoch,
pub inject_fields: Vec<FieldName>,
pub routing: bool,
pub migration: &'static str,
}Expand description
The spi.resolve span: the routing decision and its inputs.
Fields§
§partition: PartitionIdThe resolved partition (an id).
placement_kind: &'static strThe placement mode label, e.g. "shared_index".
cluster: ClusterIdThe target cluster.
index: IndexNameThe target index.
epoch: EpochThe placement epoch the decision was derived from.
inject_fields: Vec<FieldName>The names of fields injected (names only, never values).
routing: boolWhether _routing was set.
migration: &'static strThe partition’s migration phase at resolve time, e.g. "settled" /
"draining" / "cutover", so an operator sees where a migration is
without reading values (docs/06 §5).
Trait Implementations§
Source§impl Clone for ResolveInfo
impl Clone for ResolveInfo
Source§fn clone(&self) -> ResolveInfo
fn clone(&self) -> ResolveInfo
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 ResolveInfo
impl Debug for ResolveInfo
impl Eq for ResolveInfo
Source§impl PartialEq for ResolveInfo
impl PartialEq for ResolveInfo
Source§fn eq(&self, other: &ResolveInfo) -> bool
fn eq(&self, other: &ResolveInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolveInfo
Auto Trait Implementations§
impl Freeze for ResolveInfo
impl RefUnwindSafe for ResolveInfo
impl Send for ResolveInfo
impl Sync for ResolveInfo
impl Unpin for ResolveInfo
impl UnsafeUnpin for ResolveInfo
impl UnwindSafe for ResolveInfo
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