pub enum GitHubAlertType {
Note,
Tip,
Important,
Warning,
Caution,
Custom(String),
}Expand description
GitHub markdown alerts types
Variants§
Note
Blue note alert
Tip
Green tip alert
Important
Blue important alert
Warning
Yellow warning alert
Caution
Red caution alert
Custom(String)
Custom alert with a user-defined label
Trait Implementations§
Source§impl Clone for GitHubAlertType
impl Clone for GitHubAlertType
Source§fn clone(&self) -> GitHubAlertType
fn clone(&self) -> GitHubAlertType
Returns a duplicate of the value. Read more
1.0.0 · 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 GitHubAlertType
impl Debug for GitHubAlertType
Source§impl<'de> Deserialize<'de> for GitHubAlertType
impl<'de> Deserialize<'de> for GitHubAlertType
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 GitHubAlertType
impl PartialEq for GitHubAlertType
Source§impl Serialize for GitHubAlertType
impl Serialize for GitHubAlertType
impl Eq for GitHubAlertType
impl StructuralPartialEq for GitHubAlertType
Auto Trait Implementations§
impl Freeze for GitHubAlertType
impl RefUnwindSafe for GitHubAlertType
impl Send for GitHubAlertType
impl Sync for GitHubAlertType
impl Unpin for GitHubAlertType
impl UnwindSafe for GitHubAlertType
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