pub enum AlertType {
None,
Full,
Visual,
}
Expand description
Alerting specified in received events. TODO: may be missing some enum variants. ALSO TODO: figure out what this does. Best guess, it refers to what alerts (e.g. a notification) an event will generate. There may be another variant for an event that may or may not make an alert (messages with mentions?)
Variants§
None
This event won’t ever generate an alert (?)
Full
This event will always generate an alert (?)
Visual
okay, no idea…
Trait Implementations§
source§impl<'de> Deserialize<'de> for AlertType
impl<'de> Deserialize<'de> for AlertType
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
Auto Trait Implementations§
impl RefUnwindSafe for AlertType
impl Send for AlertType
impl Sync for AlertType
impl Unpin for AlertType
impl UnwindSafe for AlertType
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