pub struct InputRichBlockList {
pub kind: String,
pub items: Vec<InputRichBlockListItem>,
pub extra: BTreeMap<String, Value>,
}Expand description
A list of blocks, corresponding to the HTML tag
- or
- .
- with multiple nested tags
Fields§
§kind: StringType of the block, always ‘list’
items: Vec<InputRichBlockListItem>Items of the list
extra: BTreeMap<String, Value>Implementations§
Source§impl InputRichBlockList
impl InputRichBlockList
pub fn new(items: Vec<InputRichBlockListItem>) -> Self
Trait Implementations§
Source§impl Clone for InputRichBlockList
impl Clone for InputRichBlockList
Source§impl Debug for InputRichBlockList
impl Debug for InputRichBlockList
Source§impl<'de> Deserialize<'de> for InputRichBlockList
impl<'de> Deserialize<'de> for InputRichBlockList
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<InputRichBlockList> for InputRichBlockUnion
impl From<InputRichBlockList> for InputRichBlockUnion
Source§fn from(value: InputRichBlockList) -> Self
fn from(value: InputRichBlockList) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputRichBlockList
impl PartialEq for InputRichBlockList
Source§impl Serialize for InputRichBlockList
impl Serialize for InputRichBlockList
impl StructuralPartialEq for InputRichBlockList
Auto Trait Implementations§
impl Freeze for InputRichBlockList
impl RefUnwindSafe for InputRichBlockList
impl Send for InputRichBlockList
impl Sync for InputRichBlockList
impl Unpin for InputRichBlockList
impl UnsafeUnpin for InputRichBlockList
impl UnwindSafe for InputRichBlockList
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