pub struct SourceGap {
pub tenant_id: TenantId,
pub source: String,
pub aggregate_id: String,
pub missing_from: i64,
pub missing_to: i64,
pub deadline: DateTime<Utc>,
pub status: String,
}Expand description
A missing source-sequence range that blocks ordered delivery for an aggregate.
Fields§
§tenant_id: TenantIdTenant that owns this record.
source: StringSource the gap belongs to.
aggregate_id: StringAggregate whose sequence has the hole.
missing_from: i64First missing sequence (inclusive).
missing_to: i64Last missing sequence (inclusive).
deadline: DateTime<Utc>When waiting for the gap expires and delivery blocks.
status: StringGap status (waiting, blocked, unblocked).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SourceGap
impl<'de> Deserialize<'de> for SourceGap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SourceGap
Auto Trait Implementations§
impl Freeze for SourceGap
impl RefUnwindSafe for SourceGap
impl Send for SourceGap
impl Sync for SourceGap
impl Unpin for SourceGap
impl UnsafeUnpin for SourceGap
impl UnwindSafe for SourceGap
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