pub struct ListContent {
pub list_type: ListType,
pub items: Vec<ListItem>,
pub total_items: usize,
}Expand description
An extracted list
Fields§
§list_type: ListTypeType of list
items: Vec<ListItem>List items
total_items: usizeTotal item count (including nested)
Implementations§
Trait Implementations§
Source§impl Clone for ListContent
impl Clone for ListContent
Source§fn clone(&self) -> ListContent
fn clone(&self) -> ListContent
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 ListContent
impl Debug for ListContent
Source§impl<'de> Deserialize<'de> for ListContent
impl<'de> Deserialize<'de> for ListContent
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 ListContent
impl RefUnwindSafe for ListContent
impl Send for ListContent
impl Sync for ListContent
impl Unpin for ListContent
impl UnwindSafe for ListContent
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