#[non_exhaustive]pub struct OutcomeFlags {
pub had_failure: bool,
pub outcome_unknown: bool,
pub revision_conflict: bool,
pub interaction_unavailable: bool,
pub case_refresh_unavailable: bool,
pub budget_exhausted: bool,
pub instruction_declined: bool,
}Expand description
The outcomes that raise a notice of composition’s own.
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.had_failure: boolA command did not commit.
outcome_unknown: boolAn external outcome is unknown.
revision_conflict: boolA command met a moved revision.
A card could not be written.
A touched case could not be read back.
budget_exhausted: boolThe turn’s budget is spent: no model writes anything.
instruction_declined: boolThe user declined the instruction a card guarded.
Trait Implementations§
Source§impl Clone for OutcomeFlags
impl Clone for OutcomeFlags
impl Copy for OutcomeFlags
Source§impl Debug for OutcomeFlags
impl Debug for OutcomeFlags
Source§impl Default for OutcomeFlags
impl Default for OutcomeFlags
impl Eq for OutcomeFlags
Source§impl PartialEq for OutcomeFlags
impl PartialEq for OutcomeFlags
impl StructuralPartialEq for OutcomeFlags
Auto Trait Implementations§
impl Freeze for OutcomeFlags
impl RefUnwindSafe for OutcomeFlags
impl Send for OutcomeFlags
impl Sync for OutcomeFlags
impl Unpin for OutcomeFlags
impl UnsafeUnpin for OutcomeFlags
impl UnwindSafe for OutcomeFlags
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,
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.