pub struct InputRichBlockBlockQuotation {
pub kind: String,
pub blocks: Vec<InputRichBlockUnion>,
pub credit: Option<Box<RichTextUnion>>,
pub extra: BTreeMap<String, Value>,
}Expand description
A block quotation, corresponding to the HTML tag
.
Fields§
§kind: StringType of the block, always ‘blockquote’
blocks: Vec<InputRichBlockUnion>Content of the block
credit: Option<Box<RichTextUnion>>Credit of the block
extra: BTreeMap<String, Value>Implementations§
Source§impl InputRichBlockBlockQuotation
impl InputRichBlockBlockQuotation
pub fn new(blocks: Vec<InputRichBlockUnion>) -> Self
pub fn credit(self, value: Box<RichTextUnion>) -> Self
Trait Implementations§
Source§impl Clone for InputRichBlockBlockQuotation
impl Clone for InputRichBlockBlockQuotation
Source§impl Debug for InputRichBlockBlockQuotation
impl Debug for InputRichBlockBlockQuotation
Source§impl<'de> Deserialize<'de> for InputRichBlockBlockQuotation
impl<'de> Deserialize<'de> for InputRichBlockBlockQuotation
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 From<InputRichBlockBlockQuotation> for InputRichBlockUnion
impl From<InputRichBlockBlockQuotation> for InputRichBlockUnion
Source§fn from(value: InputRichBlockBlockQuotation) -> Self
fn from(value: InputRichBlockBlockQuotation) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for InputRichBlockBlockQuotation
Auto Trait Implementations§
impl Freeze for InputRichBlockBlockQuotation
impl RefUnwindSafe for InputRichBlockBlockQuotation
impl Send for InputRichBlockBlockQuotation
impl Sync for InputRichBlockBlockQuotation
impl Unpin for InputRichBlockBlockQuotation
impl UnsafeUnpin for InputRichBlockBlockQuotation
impl UnwindSafe for InputRichBlockBlockQuotation
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