pub struct Timesheet {Show 19 fields
pub id: Option<String>,
pub date_creation: Option<String>,
pub name: Option<String>,
pub periods: Option<Vec<TimesheetPeriod>>,
pub closed: Option<bool>,
pub upload_id: Option<String>,
pub invoice_id: Option<String>,
pub client_id: Option<String>,
pub client_name: Option<String>,
pub settings: Option<Box<TimesheetSettings>>,
pub year_month: Option<String>,
pub year: Option<i32>,
pub month: Option<i32>,
pub number_of_working_hours: Option<f64>,
pub client_name_or_na: Option<String>,
pub month_enum: Option<MonthEnum>,
pub number_of_working_days: Option<i64>,
pub number_of_hours_worked: Option<String>,
pub number_of_minutes_worked: Option<i64>,
}Fields§
§id: Option<String>§date_creation: Option<String>§name: Option<String>§periods: Option<Vec<TimesheetPeriod>>§closed: Option<bool>§upload_id: Option<String>§invoice_id: Option<String>§client_id: Option<String>§client_name: Option<String>§settings: Option<Box<TimesheetSettings>>§year_month: Option<String>§year: Option<i32>§month: Option<i32>§number_of_working_hours: Option<f64>§client_name_or_na: Option<String>§month_enum: Option<MonthEnum>§number_of_working_days: Option<i64>§number_of_hours_worked: Option<String>§number_of_minutes_worked: Option<i64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Timesheet
impl<'de> Deserialize<'de> for Timesheet
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 StructuralPartialEq for Timesheet
Auto Trait Implementations§
impl Freeze for Timesheet
impl RefUnwindSafe for Timesheet
impl Send for Timesheet
impl Sync for Timesheet
impl Unpin for Timesheet
impl UnwindSafe for Timesheet
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