pub struct TimeEntry {Show 28 fields
pub id: u64,
pub spent_date: NaiveDate,
pub user: User,
pub client: PartialClient,
pub project: PartialProject,
pub task: PartialTask,
pub user_assignment: UserAssignment,
pub task_assignment: TaskAssignment,
pub hours: f64,
pub hours_without_timer: f64,
pub rounded_hours: f64,
pub notes: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub is_locked: bool,
pub locked_reason: Option<String>,
pub is_closed: bool,
pub is_billed: bool,
pub timer_started_at: Option<DateTime<Utc>>,
pub started_time: Option<String>,
pub ended_time: Option<String>,
pub is_running: bool,
pub invoice: Option<Invoice>,
pub external_reference: Option<String>,
pub billable: bool,
pub budgeted: bool,
pub billable_rate: Option<f64>,
pub cost_rate: Option<f64>,
}Fields§
§id: u64§spent_date: NaiveDate§user: User§client: PartialClient§project: PartialProject§task: PartialTask§user_assignment: UserAssignment§task_assignment: TaskAssignment§hours: f64§hours_without_timer: f64§rounded_hours: f64§notes: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§is_locked: bool§locked_reason: Option<String>§is_closed: bool§is_billed: bool§timer_started_at: Option<DateTime<Utc>>§started_time: Option<String>§ended_time: Option<String>§is_running: bool§invoice: Option<Invoice>§external_reference: Option<String>§billable: bool§budgeted: bool§billable_rate: Option<f64>§cost_rate: Option<f64>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 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