pub struct TaskUpdate<'a> {
pub name: Option<&'a str>,
pub spec: Option<&'a str>,
pub parent_id: Option<Option<i64>>,
pub status: Option<&'a str>,
pub complexity: Option<i32>,
pub priority: Option<i32>,
pub active_form: Option<&'a str>,
pub owner: Option<&'a str>,
pub metadata: Option<&'a str>,
}Expand description
Parameter struct for TaskManager::update_task.
Only set the fields you want to change; the rest default to None (no change).
Fields§
§name: Option<&'a str>§spec: Option<&'a str>§parent_id: Option<Option<i64>>§status: Option<&'a str>§complexity: Option<i32>§priority: Option<i32>§active_form: Option<&'a str>§owner: Option<&'a str>§metadata: Option<&'a str>Trait Implementations§
Source§impl<'a> Debug for TaskUpdate<'a>
impl<'a> Debug for TaskUpdate<'a>
Source§impl<'a> Default for TaskUpdate<'a>
impl<'a> Default for TaskUpdate<'a>
Source§fn default() -> TaskUpdate<'a>
fn default() -> TaskUpdate<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for TaskUpdate<'a>
impl<'a> RefUnwindSafe for TaskUpdate<'a>
impl<'a> Send for TaskUpdate<'a>
impl<'a> Sync for TaskUpdate<'a>
impl<'a> Unpin for TaskUpdate<'a>
impl<'a> UnsafeUnpin for TaskUpdate<'a>
impl<'a> UnwindSafe for TaskUpdate<'a>
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> 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