pub struct TimeEntry {
pub id: u64,
pub hours: f32,
pub activity: Activity,
pub comment: String,
pub user: String,
pub spent_on: String,
}Expand description
A single time entry recorded on a tracker ticket.
Returned by fetch_time_entries and displayed in the Inspector’s TimeLog view.
Fields§
§id: u64Internal tracker identifier for this entry.
hours: f32Duration in hours as stored by the tracker.
activity: ActivityActivity category associated with this entry.
comment: StringFree-text comment left by the user when logging time.
user: StringDisplay name of the user who logged the time.
spent_on: StringDate on which the time was spent, in YYYY-MM-DD format.
Trait 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 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