pub struct OutboxIntentDocument {
pub id: String,
pub instance_id: String,
pub doc_type: String,
pub target_instance_id: String,
pub target_document_type: String,
pub payload: String,
pub idempotency_key: String,
pub status: String,
pub created_at: u64,
pub attempt_count: i32,
pub last_attempt_at: Option<u64>,
}Expand description
Outbox intent for cross-partition writes.
id = “intent:
Fields§
§id: String§instance_id: String§doc_type: String§target_instance_id: String§target_document_type: String§payload: String§idempotency_key: String§status: String§created_at: u64§attempt_count: i32§last_attempt_at: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for OutboxIntentDocument
impl Clone for OutboxIntentDocument
Source§fn clone(&self) -> OutboxIntentDocument
fn clone(&self) -> OutboxIntentDocument
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 OutboxIntentDocument
impl Debug for OutboxIntentDocument
Source§impl<'de> Deserialize<'de> for OutboxIntentDocument
impl<'de> Deserialize<'de> for OutboxIntentDocument
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
Auto Trait Implementations§
impl Freeze for OutboxIntentDocument
impl RefUnwindSafe for OutboxIntentDocument
impl Send for OutboxIntentDocument
impl Sync for OutboxIntentDocument
impl Unpin for OutboxIntentDocument
impl UnsafeUnpin for OutboxIntentDocument
impl UnwindSafe for OutboxIntentDocument
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