pub struct TimeEntry {
pub id: String,
pub task: Option<Value>,
pub user: Option<User>,
pub billable: bool,
pub start: Option<i64>,
pub end: Option<i64>,
pub duration: Option<i64>,
pub description: Option<String>,
pub tags: Vec<Value>,
pub task_location: Option<Value>,
}Fields§
§id: String§task: Option<Value>§user: Option<User>§billable: bool§start: Option<i64>§end: Option<i64>§duration: Option<i64>Milliseconds; negative while the timer is running.
description: Option<String>§task_location: Option<Value>Present when requested with include_location_names=true.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimeEntry
impl<'de> Deserialize<'de> for TimeEntry
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 Forget for TimeEntry
impl Freeze for TimeEntry
impl Move for TimeEntry
impl RefUnwindSafe for TimeEntry
impl Send for TimeEntry
impl Sync for TimeEntry
impl Unpin for TimeEntry
impl UnsafeUnpin for TimeEntry
impl UnwindSafe for TimeEntry
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