pub struct TimeEntry {
pub description: Option<String>,
pub duration: Duration,
pub is_running: bool,
pub project_id: Option<i64>,
pub project_name: Option<String>,
pub start: Option<DateTime<Utc>>,
pub stop: Option<DateTime<Utc>>,
pub workspace_id: i64,
}Fields§
§description: Option<String>§duration: Duration§is_running: bool§project_id: Option<i64>§project_name: Option<String>§start: Option<DateTime<Utc>>§stop: Option<DateTime<Utc>>§workspace_id: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeEntry
impl RefUnwindSafe for TimeEntry
impl Send for TimeEntry
impl Sync for TimeEntry
impl Unpin 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