pub struct TaskHistory {
pub id: i32,
pub task_id: Uuid,
pub from_status: Option<TaskStatus>,
pub to_status: TaskStatus,
pub changed_at: DateTime<Utc>,
}Fields§
§id: i32§task_id: Uuid§from_status: Option<TaskStatus>§to_status: TaskStatus§changed_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for TaskHistory
impl Clone for TaskHistory
Source§fn clone(&self) -> TaskHistory
fn clone(&self) -> TaskHistory
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 TaskHistory
impl Debug for TaskHistory
Source§impl<'de> Deserialize<'de> for TaskHistory
impl<'de> Deserialize<'de> for TaskHistory
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 TaskHistory
impl RefUnwindSafe for TaskHistory
impl Send for TaskHistory
impl Sync for TaskHistory
impl Unpin for TaskHistory
impl UnsafeUnpin for TaskHistory
impl UnwindSafe for TaskHistory
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