SimpleGitHubAlert

Type Alias SimpleGitHubAlert 

Source
pub type SimpleGitHubAlert = GitHubAlertNode<()>;
Expand description

Simple GitHub alert without user data (backward compatible)

Aliased Type§

pub struct SimpleGitHubAlert {
    pub alert_type: GitHubAlertType,
    pub blocks: Vec<Block>,
    pub user_data: (),
}

Fields§

§alert_type: GitHubAlertType

Type of alert (NOTE, TIP, IMPORTANT, WARNING, CAUTION)

§blocks: Vec<Block>

Content blocks within the alert

§user_data: ()

User-defined data associated with this GitHub alert