pub struct Aside {
pub id: Option<String>,
pub aside_type: Option<String>,
pub side: Side,
pub content: Vec<BlockElement>,
}Expand description
Aside - supplementary content
Fields§
§id: Option<String>Unique identifier
aside_type: Option<String>Semantic classification (e.g., “note”, “warning”, “example”)
side: SidePositioning hint (REQUIRED)
content: Vec<BlockElement>Block elements
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Aside
impl<'de> Deserialize<'de> for Aside
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
impl StructuralPartialEq for Aside
Auto Trait Implementations§
impl Freeze for Aside
impl RefUnwindSafe for Aside
impl Send for Aside
impl Sync for Aside
impl Unpin for Aside
impl UnwindSafe for Aside
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