pub struct NodeAlert {
pub alert_type: AlertType,
pub title: Option<String>,
pub multiline: bool,
pub fence_length: usize,
pub fence_offset: usize,
}Expand description
The metadata of an Alert node.
Fields§
§alert_type: AlertTypeType of alert
title: Option<String>Overridden title. If None, then use the default title.
multiline: boolOriginated from a multiline blockquote.
fence_length: usizeThe length of the fence (multiline only).
fence_offset: usizeThe indentation level of the fence marker (multiline only)
Trait Implementations§
impl Eq for NodeAlert
impl StructuralPartialEq for NodeAlert
Auto Trait Implementations§
impl Freeze for NodeAlert
impl RefUnwindSafe for NodeAlert
impl Send for NodeAlert
impl Sync for NodeAlert
impl Unpin for NodeAlert
impl UnwindSafe for NodeAlert
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