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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.