pub struct List {
pub id: EntityId,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub style: ListStyle,
pub indent: i64,
pub prefix: String,
pub suffix: String,
pub start: Option<i64>,
}Fields§
§id: EntityId§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§style: ListStyle§indent: i64§prefix: String§suffix: String§start: Option<i64>The number an ordered list’s first item wears, when it is not 1: 3 for a list
written 3., c. or iii.. None for a list numbered from 1, and for every
unordered list. A Djot, Markdown or HTML list starting past 1 came back numbered
from 1 after a save and a reload, as the model had nowhere to keep its start.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for List
impl<'de> Deserialize<'de> for List
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 List
impl StructuralPartialEq for List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnsafeUnpin for List
impl UnwindSafe for List
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