#[non_exhaustive]pub struct TodoListState {
pub revision: u64,
pub source_tool: String,
pub items: Vec<TodoItem>,
}Expand description
The latest todo-list fact in the snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.revision: u64The snapshot revision. Diagnostics only, never an ordering guard.
source_tool: StringThe tool that produced the snapshot, verbatim.
items: Vec<TodoItem>The full todo list.
Trait Implementations§
Source§impl Clone for TodoListState
impl Clone for TodoListState
Source§impl Debug for TodoListState
impl Debug for TodoListState
Source§impl<'de> Deserialize<'de> for TodoListState
impl<'de> Deserialize<'de> for TodoListState
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 TodoListState
Source§impl PartialEq for TodoListState
impl PartialEq for TodoListState
Source§impl Serialize for TodoListState
impl Serialize for TodoListState
impl StructuralPartialEq for TodoListState
Auto Trait Implementations§
impl Forget for TodoListState
impl Freeze for TodoListState
impl Move for TodoListState
impl RefUnwindSafe for TodoListState
impl Send for TodoListState
impl Sync for TodoListState
impl Unpin for TodoListState
impl UnsafeUnpin for TodoListState
impl UnwindSafe for TodoListState
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