pub struct TodoPatch {
pub description: Option<Option<String>>,
pub due: Option<Option<LooseDateTime>>,
pub percent_complete: Option<Option<u8>>,
pub priority: Option<Priority>,
pub status: Option<TodoStatus>,
pub summary: Option<String>,
}Expand description
Patch for a todo item, allowing partial updates.
Fields§
§description: Option<Option<String>>The description of the todo item, if available.
due: Option<Option<LooseDateTime>>The due date and time of the todo item, if available.
percent_complete: Option<Option<u8>>The percent complete, from 0 to 100.
priority: Option<Priority>The priority of the todo item, from 1 to 9, where 1 is the highest priority.
status: Option<TodoStatus>The status of the todo item, if available.
summary: Option<String>The summary of the todo item, if available.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TodoPatch
impl RefUnwindSafe for TodoPatch
impl Send for TodoPatch
impl Sync for TodoPatch
impl Unpin for TodoPatch
impl UnwindSafe for TodoPatch
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more