pub struct ApprovalMutationResult {
pub approval: ApprovalRecord,
pub receipt: MutationReceipt,
}Expand description
Durable result of an atomic approval decision.
Fields§
§approval: ApprovalRecordAuthoritative post-mutation approval record.
receipt: MutationReceiptDurable mutation receipt.
Implementations§
Source§impl ApprovalMutationResult
impl ApprovalMutationResult
Sourcepub fn replayed_projection(&self) -> Self
pub fn replayed_projection(&self) -> Self
Return an exact-replay projection without changing durable evidence.
Trait Implementations§
Source§impl Clone for ApprovalMutationResult
impl Clone for ApprovalMutationResult
Source§fn clone(&self) -> ApprovalMutationResult
fn clone(&self) -> ApprovalMutationResult
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 ApprovalMutationResult
impl Debug for ApprovalMutationResult
Source§impl<'de> Deserialize<'de> for ApprovalMutationResult
impl<'de> Deserialize<'de> for ApprovalMutationResult
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 ApprovalMutationResult
Source§impl PartialEq for ApprovalMutationResult
impl PartialEq for ApprovalMutationResult
Source§impl Serialize for ApprovalMutationResult
impl Serialize for ApprovalMutationResult
impl StructuralPartialEq for ApprovalMutationResult
Source§impl VersionedRecord for ApprovalMutationResult
impl VersionedRecord for ApprovalMutationResult
Source§const SCHEMA: &'static str = "starweaver.session.approval_mutation_result"
const SCHEMA: &'static str = "starweaver.session.approval_mutation_result"
Stable schema identifier.
Source§const ALLOW_BARE_V0: bool = false
const ALLOW_BARE_V0: bool = false
Whether this record explicitly accepts a previous bare-JSON v0 shape.
Source§fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode one enveloped payload version. Read more
Source§fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode the explicitly supported bare-JSON v0 shape. Read more
Auto Trait Implementations§
impl Freeze for ApprovalMutationResult
impl RefUnwindSafe for ApprovalMutationResult
impl Send for ApprovalMutationResult
impl Sync for ApprovalMutationResult
impl Unpin for ApprovalMutationResult
impl UnsafeUnpin for ApprovalMutationResult
impl UnwindSafe for ApprovalMutationResult
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