pub enum SlackAlertLevel {
Warning,
Error,
Info,
Success,
}Expand description
https://docs.slack.dev/reference/block-kit/blocks/alert-block
Variants§
Trait Implementations§
Source§impl Clone for SlackAlertLevel
impl Clone for SlackAlertLevel
Source§fn clone(&self) -> SlackAlertLevel
fn clone(&self) -> SlackAlertLevel
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 moreSource§impl Debug for SlackAlertLevel
impl Debug for SlackAlertLevel
Source§impl<'de> Deserialize<'de> for SlackAlertLevel
impl<'de> Deserialize<'de> for SlackAlertLevel
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
Source§impl PartialEq for SlackAlertLevel
impl PartialEq for SlackAlertLevel
Source§impl Serialize for SlackAlertLevel
impl Serialize for SlackAlertLevel
impl StructuralPartialEq for SlackAlertLevel
Auto Trait Implementations§
impl Freeze for SlackAlertLevel
impl RefUnwindSafe for SlackAlertLevel
impl Send for SlackAlertLevel
impl Sync for SlackAlertLevel
impl Unpin for SlackAlertLevel
impl UnsafeUnpin for SlackAlertLevel
impl UnwindSafe for SlackAlertLevel
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