#[non_exhaustive]pub struct Outcome {
pub reservation_id: String,
pub audience: String,
pub repository: String,
pub occurred_unix_ms: i64,
pub kind: OutcomeKind,
}Expand description
One durable reservation result. Delivery is at least once.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reservation_id: StringIdempotency key; sinks deduplicate by this id.
audience: StringCanonical origin of the server that performed the operation.
repository: StringFull repository identity.
occurred_unix_ms: i64Time the terminal result occurred.
kind: OutcomeKindTerminal result payload.
Implementations§
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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