pub struct IndexResource {
pub id: ResourceId,
pub version_id: VersionId,
pub tenant: TenantId,
pub project: ProjectId,
pub fhir_method: FHIRMethod,
pub resource_type: ResourceType,
pub resource: Resource,
pub sequence: i64,
}Fields§
§id: ResourceId§version_id: VersionId§tenant: TenantId§project: ProjectId§fhir_method: FHIRMethod§resource_type: ResourceType§resource: Resource§sequence: i64The repository’s write sequence for this version. Versions of one resource are ordered by it, which is what lets an index refuse to replace a newer version with an older one replayed after it.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IndexResource
impl RefUnwindSafe for IndexResource
impl Send for IndexResource
impl Sync for IndexResource
impl Unpin for IndexResource
impl UnsafeUnpin for IndexResource
impl UnwindSafe for IndexResource
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