pub struct ListSection {
pub value: String,
pub start: usize,
pub count: usize,
}Expand description
Consecutive items sharing a sectionBy value.
Fields§
§value: StringThe shared value as a string (`` for missing).
start: usizeIndex of the section’s first item in the data.
count: usizeTrait Implementations§
Source§impl Clone for ListSection
impl Clone for ListSection
Source§impl Debug for ListSection
impl Debug for ListSection
Source§impl<'de> Deserialize<'de> for ListSection
impl<'de> Deserialize<'de> for ListSection
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
impl Eq for ListSection
Source§impl PartialEq for ListSection
impl PartialEq for ListSection
Source§impl Serialize for ListSection
impl Serialize for ListSection
impl StructuralPartialEq for ListSection
Auto Trait Implementations§
impl Freeze for ListSection
impl RefUnwindSafe for ListSection
impl Send for ListSection
impl Sync for ListSection
impl Unpin for ListSection
impl UnsafeUnpin for ListSection
impl UnwindSafe for ListSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.