pub struct QuoteBlock {
pub type_: QuoteBlock_,
pub content: Vec<BlockContent>,
pub cite: Option<Box<QuoteBlockCite>>,
pub id: Option<Box<String>>,
}
Expand description
A section quoted from somewhere else.
Fields§
§type_: QuoteBlock_
The name of this type
content: Vec<BlockContent>
The content of the quote.
cite: Option<Box<QuoteBlockCite>>
The source of the quote.
id: Option<Box<String>>
The identifier for this item.
Trait Implementations§
Source§impl Clone for QuoteBlock
impl Clone for QuoteBlock
Source§fn clone(&self) -> QuoteBlock
fn clone(&self) -> QuoteBlock
Returns a copy 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 QuoteBlock
impl Debug for QuoteBlock
Source§impl Default for QuoteBlock
impl Default for QuoteBlock
Source§impl<'de> Deserialize<'de> for QuoteBlockwhere
QuoteBlock: Default,
impl<'de> Deserialize<'de> for QuoteBlockwhere
QuoteBlock: Default,
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
Auto Trait Implementations§
impl Freeze for QuoteBlock
impl RefUnwindSafe for QuoteBlock
impl Send for QuoteBlock
impl Sync for QuoteBlock
impl Unpin for QuoteBlock
impl UnwindSafe for QuoteBlock
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