pub struct DefinitionListBlock {
pub id: Option<String>,
pub children: Vec<Block>,
pub attributes: BlockAttributes,
}Expand description
Definition list block.
Fields§
§id: Option<String>Optional unique identifier.
children: Vec<Block>Definition items (must be DefinitionItem blocks).
attributes: BlockAttributesBlock attributes.
Implementations§
Trait Implementations§
Source§impl Clone for DefinitionListBlock
impl Clone for DefinitionListBlock
Source§fn clone(&self) -> DefinitionListBlock
fn clone(&self) -> DefinitionListBlock
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 DefinitionListBlock
impl Debug for DefinitionListBlock
Source§impl<'de> Deserialize<'de> for DefinitionListBlock
impl<'de> Deserialize<'de> for DefinitionListBlock
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
Source§impl PartialEq for DefinitionListBlock
impl PartialEq for DefinitionListBlock
Source§impl Serialize for DefinitionListBlock
impl Serialize for DefinitionListBlock
impl StructuralPartialEq for DefinitionListBlock
Auto Trait Implementations§
impl Freeze for DefinitionListBlock
impl RefUnwindSafe for DefinitionListBlock
impl Send for DefinitionListBlock
impl Sync for DefinitionListBlock
impl Unpin for DefinitionListBlock
impl UnsafeUnpin for DefinitionListBlock
impl UnwindSafe for DefinitionListBlock
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