pub enum Situation {
MorningGreeting,
GentleCheckIn,
ShareQuote,
ShareLink,
WorkflowNudge,
Scheduled,
}Variants§
MorningGreeting
GentleCheckIn
WorkflowNudge
Scheduled
A schedule the user set fired. Unlike every variant above, this one is
never chosen by situations::pick_for_hour — the picker samples a fixed
weight table and cannot reach it. It is supplied directly, because both
questions the picker exists to answer (say something? say what?) were
already answered by the person who wrote the schedule.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Situation
impl<'de> Deserialize<'de> for Situation
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 Situation
impl StructuralPartialEq for Situation
Auto Trait Implementations§
impl Freeze for Situation
impl RefUnwindSafe for Situation
impl Send for Situation
impl Sync for Situation
impl Unpin for Situation
impl UnsafeUnpin for Situation
impl UnwindSafe for Situation
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§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.