pub struct PhysicalIndexState {
pub name: String,
pub kind: IndexKind,
pub collection: Option<String>,
pub enabled: bool,
pub entries: usize,
pub estimated_memory_bytes: u64,
pub last_refresh_ms: Option<u128>,
pub backend: String,
pub artifact_kind: Option<String>,
pub artifact_root_page: Option<u32>,
pub artifact_checksum: Option<u64>,
pub build_state: String,
}Fields§
§name: String§kind: IndexKind§collection: Option<String>§enabled: bool§entries: usize§estimated_memory_bytes: u64§last_refresh_ms: Option<u128>§backend: String§artifact_kind: Option<String>§artifact_root_page: Option<u32>§artifact_checksum: Option<u64>§build_state: StringImplementations§
Source§impl PhysicalIndexState
impl PhysicalIndexState
Sourcepub fn artifact_state(&self) -> ArtifactState
pub fn artifact_state(&self) -> ArtifactState
Canonical artifact lifecycle state derived from physical state.
Trait Implementations§
Source§impl Clone for PhysicalIndexState
impl Clone for PhysicalIndexState
Source§fn clone(&self) -> PhysicalIndexState
fn clone(&self) -> PhysicalIndexState
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 Forget for PhysicalIndexState
impl Freeze for PhysicalIndexState
impl Move for PhysicalIndexState
impl RefUnwindSafe for PhysicalIndexState
impl Send for PhysicalIndexStatewhere
RawVecInner: Send,
impl Sync for PhysicalIndexStatewhere
RawVecInner: Sync,
impl Unpin for PhysicalIndexState
impl UnsafeUnpin for PhysicalIndexState
impl UnwindSafe for PhysicalIndexStatewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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