pub struct TaskTimestamp {
pub task_id: TaskId,
pub timestamp: u64,
}
Fields§
§task_id: TaskId
§timestamp: u64
Trait Implementations§
Source§impl CandidType for TaskTimestamp
impl CandidType for TaskTimestamp
Source§impl Clone for TaskTimestamp
impl Clone for TaskTimestamp
Source§fn clone(&self) -> TaskTimestamp
fn clone(&self) -> TaskTimestamp
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<'de> Deserialize<'de> for TaskTimestamp
impl<'de> Deserialize<'de> for TaskTimestamp
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
Source§impl Ord for TaskTimestamp
impl Ord for TaskTimestamp
Source§impl PartialEq for TaskTimestamp
impl PartialEq for TaskTimestamp
Source§impl PartialOrd for TaskTimestamp
impl PartialOrd for TaskTimestamp
impl Copy for TaskTimestamp
impl Eq for TaskTimestamp
Auto Trait Implementations§
impl Freeze for TaskTimestamp
impl RefUnwindSafe for TaskTimestamp
impl Send for TaskTimestamp
impl Sync for TaskTimestamp
impl Unpin for TaskTimestamp
impl UnwindSafe for TaskTimestamp
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