pub struct EffectProfile {
pub mutation: MutationKind,
pub dispatch: DispatchPolicy,
pub reconciliation: ReconciliationMode,
pub keyed_idempotency: bool,
pub irreversible: bool,
}Expand description
Orthogonal effect properties used by admission and binding.
Fields§
§mutation: MutationKindWhether the operation can change the external world.
dispatch: DispatchPolicyWhen dispatch may be released.
reconciliation: ReconciliationModeHow an ambiguous result can be reconciled.
keyed_idempotency: boolWhether the provider accepts a stable idempotency key.
irreversible: boolWhether the operation is irreversible after application.
Trait Implementations§
Source§impl Clone for EffectProfile
impl Clone for EffectProfile
Source§impl Debug for EffectProfile
impl Debug for EffectProfile
Source§impl<'de> Deserialize<'de> for EffectProfile
impl<'de> Deserialize<'de> for EffectProfile
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 EffectProfile
Source§impl PartialEq for EffectProfile
impl PartialEq for EffectProfile
Source§impl Serialize for EffectProfile
impl Serialize for EffectProfile
impl StructuralPartialEq for EffectProfile
Auto Trait Implementations§
impl Freeze for EffectProfile
impl RefUnwindSafe for EffectProfile
impl Send for EffectProfile
impl Sync for EffectProfile
impl Unpin for EffectProfile
impl UnsafeUnpin for EffectProfile
impl UnwindSafe for EffectProfile
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