pub struct UpdateTaskCommand {
pub project_id: Uuid,
pub updated_task: Task,
}
Expand description
Command for updating an existing task
Fields§
§project_id: Uuid
Id for the project that the task is a part of
updated_task: Task
The updated task
Trait Implementations§
Source§impl Clone for UpdateTaskCommand
impl Clone for UpdateTaskCommand
Source§fn clone(&self) -> UpdateTaskCommand
fn clone(&self) -> UpdateTaskCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateTaskCommand
impl Debug for UpdateTaskCommand
Source§impl<'de> Deserialize<'de> for UpdateTaskCommand
impl<'de> Deserialize<'de> for UpdateTaskCommand
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
Auto Trait Implementations§
impl Freeze for UpdateTaskCommand
impl RefUnwindSafe for UpdateTaskCommand
impl Send for UpdateTaskCommand
impl Sync for UpdateTaskCommand
impl Unpin for UpdateTaskCommand
impl UnwindSafe for UpdateTaskCommand
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