pub struct CommandOutcomeRecord {
pub command_ref: CommandRef,
pub idempotency_key: IdempotencyKey,
pub case_ref: CaseRef,
pub origin: Option<CommandOrigin>,
pub outcome: CommandOutcome,
}Expand description
One command and its outcome.
Fields§
§command_ref: CommandRefThe command.
idempotency_key: IdempotencyKeyIts idempotency key.
case_ref: CaseRefCase and expected revision.
origin: Option<CommandOrigin>What authorized the command.
Recorded so the audit answers “which interaction authorized this command” from the record alone, without reloading the batches that produced it (spec §26.4, I20). Absent on records written before the field existed, which is why it is optional rather than required.
outcome: CommandOutcomeThe outcome.
Trait Implementations§
Source§impl Clone for CommandOutcomeRecord
impl Clone for CommandOutcomeRecord
Source§impl Debug for CommandOutcomeRecord
impl Debug for CommandOutcomeRecord
Source§impl<'de> Deserialize<'de> for CommandOutcomeRecord
impl<'de> Deserialize<'de> for CommandOutcomeRecord
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 CommandOutcomeRecord
Source§impl PartialEq for CommandOutcomeRecord
impl PartialEq for CommandOutcomeRecord
Source§impl Serialize for CommandOutcomeRecord
impl Serialize for CommandOutcomeRecord
impl StructuralPartialEq for CommandOutcomeRecord
Auto Trait Implementations§
impl Freeze for CommandOutcomeRecord
impl RefUnwindSafe for CommandOutcomeRecord
impl Send for CommandOutcomeRecord
impl Sync for CommandOutcomeRecord
impl Unpin for CommandOutcomeRecord
impl UnsafeUnpin for CommandOutcomeRecord
impl UnwindSafe for CommandOutcomeRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.