pub struct FailedIndexEntry {
pub id: String,
pub version_id: String,
pub resource_type: String,
pub fhir_method: FHIRMethod,
pub sequence: i64,
pub attempt_count: i32,
pub error_message: String,
pub first_failed_at: OffsetDateTime,
pub last_failed_at: OffsetDateTime,
pub resolved_at: Option<OffsetDateTime>,
}Expand description
A previously recorded indexing failure, as read back for display -
includes the bookkeeping columns (attempt_count, timestamps) that only
exist once a FailedIndexRecord has actually been persisted.
Fields§
§id: String§version_id: String§resource_type: String§fhir_method: FHIRMethod§sequence: i64Current sequence position of this version in the resources table -
looked up at read time since it isn’t part of the failure record itself.
attempt_count: i32§error_message: String§first_failed_at: OffsetDateTime§last_failed_at: OffsetDateTime§resolved_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for FailedIndexEntry
impl Clone for FailedIndexEntry
Source§fn clone(&self) -> FailedIndexEntry
fn clone(&self) -> FailedIndexEntry
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 FailedIndexEntry
impl Debug for FailedIndexEntry
Source§impl<'a, R: Row> FromRow<'a, R> for FailedIndexEntrywhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
FHIRMethod: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
OffsetDateTime: Decode<'a, R::Database> + Type<R::Database>,
Option<OffsetDateTime>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for FailedIndexEntrywhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
FHIRMethod: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
OffsetDateTime: Decode<'a, R::Database> + Type<R::Database>,
Option<OffsetDateTime>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for FailedIndexEntry
impl RefUnwindSafe for FailedIndexEntry
impl Send for FailedIndexEntry
impl Sync for FailedIndexEntry
impl Unpin for FailedIndexEntry
impl UnsafeUnpin for FailedIndexEntry
impl UnwindSafe for FailedIndexEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more