pub struct OutboxRecord {
pub event: DomainEvent,
pub status: OutboxStatus,
pub attempt_count: u32,
pub available_at: DateTime<Utc>,
pub claimed_by: Option<String>,
pub claim_expires_at: Option<DateTime<Utc>>,
pub last_error: Option<String>,
}Fields§
§event: DomainEvent§status: OutboxStatus§attempt_count: u32§available_at: DateTime<Utc>§claimed_by: Option<String>§claim_expires_at: Option<DateTime<Utc>>§last_error: Option<String>Implementations§
Source§impl OutboxRecord
impl OutboxRecord
pub fn pending(event: DomainEvent) -> Self
Trait Implementations§
Source§impl Clone for OutboxRecord
impl Clone for OutboxRecord
Source§fn clone(&self) -> OutboxRecord
fn clone(&self) -> OutboxRecord
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 OutboxRecord
impl Debug for OutboxRecord
Source§impl<'de> Deserialize<'de> for OutboxRecord
impl<'de> Deserialize<'de> for OutboxRecord
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 OutboxRecord
Source§impl PartialEq for OutboxRecord
impl PartialEq for OutboxRecord
Source§impl Serialize for OutboxRecord
impl Serialize for OutboxRecord
impl StructuralPartialEq for OutboxRecord
Auto Trait Implementations§
impl Freeze for OutboxRecord
impl RefUnwindSafe for OutboxRecord
impl Send for OutboxRecord
impl Sync for OutboxRecord
impl Unpin for OutboxRecord
impl UnsafeUnpin for OutboxRecord
impl UnwindSafe for OutboxRecord
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