pub struct UpdateTaskInput {
pub name: Option<String>,
pub notes: Option<String>,
pub completed: Option<bool>,
pub assignee: Option<String>,
pub due_on: Option<String>,
pub due_at: Option<String>,
}Expand description
Update task input.
Fields§
§name: Option<String>§notes: Option<String>§completed: Option<bool>§assignee: Option<String>§due_on: Option<String>§due_at: Option<String>Implementations§
Source§impl UpdateTaskInput
impl UpdateTaskInput
pub fn new() -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn notes(self, notes: impl Into<String>) -> Self
pub fn completed(self, completed: bool) -> Self
pub fn assignee(self, gid: impl Into<String>) -> Self
pub fn due_on(self, date: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for UpdateTaskInput
impl Clone for UpdateTaskInput
Source§fn clone(&self) -> UpdateTaskInput
fn clone(&self) -> UpdateTaskInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateTaskInput
impl Debug for UpdateTaskInput
Source§impl Default for UpdateTaskInput
impl Default for UpdateTaskInput
Source§fn default() -> UpdateTaskInput
fn default() -> UpdateTaskInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateTaskInput
impl RefUnwindSafe for UpdateTaskInput
impl Send for UpdateTaskInput
impl Sync for UpdateTaskInput
impl Unpin for UpdateTaskInput
impl UnsafeUnpin for UpdateTaskInput
impl UnwindSafe for UpdateTaskInput
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