pub struct GitHubAlert {
pub alert_type: GitHubAlertType,
pub blocks: Vec<Block>,
}Expand description
GitHub alert block
Fields§
§alert_type: GitHubAlertTypeType of the alert
blocks: Vec<Block>Content blocks inside the alert
Trait Implementations§
Source§impl Clone for GitHubAlert
impl Clone for GitHubAlert
Source§fn clone(&self) -> GitHubAlert
fn clone(&self) -> GitHubAlert
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 GitHubAlert
impl Debug for GitHubAlert
Source§impl PartialEq for GitHubAlert
impl PartialEq for GitHubAlert
impl StructuralPartialEq for GitHubAlert
Auto Trait Implementations§
impl Freeze for GitHubAlert
impl RefUnwindSafe for GitHubAlert
impl Send for GitHubAlert
impl Sync for GitHubAlert
impl Unpin for GitHubAlert
impl UnwindSafe for GitHubAlert
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