pub struct QuarantinedCeremonyEvent { /* private fields */ }Expand description
One global-feed event a consumer deliberately skipped after retries.
Implementations§
Source§impl QuarantinedCeremonyEvent
impl QuarantinedCeremonyEvent
pub fn new( consumer: CeremonyEventConsumer, position: GlobalPosition, attempts: CeremonyEventCursorAttempt, reason: CeremonyEventQuarantineReason, quarantined_at: OffsetDateTime, ) -> Self
pub fn consumer(&self) -> &CeremonyEventConsumer
pub const fn position(&self) -> GlobalPosition
pub const fn attempts(&self) -> CeremonyEventCursorAttempt
pub fn reason(&self) -> &CeremonyEventQuarantineReason
pub const fn quarantined_at(&self) -> OffsetDateTime
Trait Implementations§
Source§impl Clone for QuarantinedCeremonyEvent
impl Clone for QuarantinedCeremonyEvent
Source§fn clone(&self) -> QuarantinedCeremonyEvent
fn clone(&self) -> QuarantinedCeremonyEvent
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 QuarantinedCeremonyEvent
impl Debug for QuarantinedCeremonyEvent
Source§impl<'de> Deserialize<'de> for QuarantinedCeremonyEvent
impl<'de> Deserialize<'de> for QuarantinedCeremonyEvent
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 Eq for QuarantinedCeremonyEvent
Source§impl PartialEq for QuarantinedCeremonyEvent
impl PartialEq for QuarantinedCeremonyEvent
Source§impl Serialize for QuarantinedCeremonyEvent
impl Serialize for QuarantinedCeremonyEvent
impl StructuralPartialEq for QuarantinedCeremonyEvent
Auto Trait Implementations§
impl Freeze for QuarantinedCeremonyEvent
impl RefUnwindSafe for QuarantinedCeremonyEvent
impl Send for QuarantinedCeremonyEvent
impl Sync for QuarantinedCeremonyEvent
impl Unpin for QuarantinedCeremonyEvent
impl UnsafeUnpin for QuarantinedCeremonyEvent
impl UnwindSafe for QuarantinedCeremonyEvent
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