pub enum ClaimClass {
Creation,
Update,
Deletion,
Submission,
Acceptance,
Delivery,
Completion,
InteractionVisibility,
FutureNotification,
}Expand description
Classes of claims the narrator must not make (spec §18.3).
Deliberately exhaustive, like InteractionStatus:
the list is a closed vocabulary with an ALL table, and a
caller that forbids claims must be forced by the compiler to consider every
one of them.
Variants§
Creation
“Created”.
Update
“Updated”.
Deletion
“Deleted”.
Submission
“Submitted” / “sent”.
Acceptance
“Accepted”.
Delivery
“Delivered”.
Completion
“Completed”.
InteractionVisibility
“You can see the card below”.
FutureNotification
“I will notify you”.
Implementations§
Trait Implementations§
Source§impl Clone for ClaimClass
impl Clone for ClaimClass
impl Copy for ClaimClass
Source§impl Debug for ClaimClass
impl Debug for ClaimClass
Source§impl<'de> Deserialize<'de> for ClaimClass
impl<'de> Deserialize<'de> for ClaimClass
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 ClaimClass
Source§impl Hash for ClaimClass
impl Hash for ClaimClass
Source§impl PartialEq for ClaimClass
impl PartialEq for ClaimClass
Source§impl Serialize for ClaimClass
impl Serialize for ClaimClass
impl StructuralPartialEq for ClaimClass
Auto Trait Implementations§
impl Freeze for ClaimClass
impl RefUnwindSafe for ClaimClass
impl Send for ClaimClass
impl Sync for ClaimClass
impl Unpin for ClaimClass
impl UnsafeUnpin for ClaimClass
impl UnwindSafe for ClaimClass
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.