pub struct TaskHistoryInfo {
pub field: String,
pub old_value: Option<String>,
pub new_value: Option<String>,
pub session_id: Option<String>,
pub created_at: i64,
}Expand description
Entry in the task history log (task_history table).
Fields§
§field: StringField that was updated: “state”, “priority”, “held”, “affected_files”, “title”, …
old_value: Option<String>§new_value: Option<String>§session_id: Option<String>Session that performed the update, if known.
created_at: i64Unix millis.
Trait Implementations§
Source§impl Clone for TaskHistoryInfo
impl Clone for TaskHistoryInfo
Source§fn clone(&self) -> TaskHistoryInfo
fn clone(&self) -> TaskHistoryInfo
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 TaskHistoryInfo
impl Debug for TaskHistoryInfo
Source§impl<'de> Deserialize<'de> for TaskHistoryInfo
impl<'de> Deserialize<'de> for TaskHistoryInfo
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 TaskHistoryInfo
impl RefUnwindSafe for TaskHistoryInfo
impl Send for TaskHistoryInfo
impl Sync for TaskHistoryInfo
impl Unpin for TaskHistoryInfo
impl UnsafeUnpin for TaskHistoryInfo
impl UnwindSafe for TaskHistoryInfo
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