#[non_exhaustive]pub enum EffectEventPayloadPolicy {
Redacted,
Full,
}Expand description
Controls whether effect outputs are copied into Journal events.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Redacted
Keep durable output only in the EffectStore.
Full
Copy the complete output into EffectEvent::Completed.
Trait Implementations§
Source§impl Clone for EffectEventPayloadPolicy
impl Clone for EffectEventPayloadPolicy
Source§fn clone(&self) -> EffectEventPayloadPolicy
fn clone(&self) -> EffectEventPayloadPolicy
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 moreimpl Copy for EffectEventPayloadPolicy
Source§impl Debug for EffectEventPayloadPolicy
impl Debug for EffectEventPayloadPolicy
Source§impl Default for EffectEventPayloadPolicy
impl Default for EffectEventPayloadPolicy
Source§fn default() -> EffectEventPayloadPolicy
fn default() -> EffectEventPayloadPolicy
Returns the “default value” for a type. Read more
impl Eq for EffectEventPayloadPolicy
Source§impl PartialEq for EffectEventPayloadPolicy
impl PartialEq for EffectEventPayloadPolicy
impl StructuralPartialEq for EffectEventPayloadPolicy
Auto Trait Implementations§
impl Freeze for EffectEventPayloadPolicy
impl RefUnwindSafe for EffectEventPayloadPolicy
impl Send for EffectEventPayloadPolicy
impl Sync for EffectEventPayloadPolicy
impl Unpin for EffectEventPayloadPolicy
impl UnsafeUnpin for EffectEventPayloadPolicy
impl UnwindSafe for EffectEventPayloadPolicy
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