pub struct TimeSpent(pub Duration);Expand description
TimeSpent capability (accumulated time).
Tuple Fields§
§0: DurationTrait Implementations§
impl Copy for TimeSpent
Source§impl<'de> Deserialize<'de> for TimeSpent
impl<'de> Deserialize<'de> for TimeSpent
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
impl Eq for TimeSpent
impl StructuralPartialEq for TimeSpent
Auto Trait Implementations§
impl Freeze for TimeSpent
impl RefUnwindSafe for TimeSpent
impl Send for TimeSpent
impl Sync for TimeSpent
impl Unpin for TimeSpent
impl UnsafeUnpin for TimeSpent
impl UnwindSafe for TimeSpent
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