pub struct CreateTimeTrackingEntryRequestBody {
pub duration_minutes: i64,
pub entered_on: NaiveDate,
}
Fields§
§duration_minutes: i64
Time in minutes tracked by the entry. Must be greater than 0
entered_on: NaiveDate
Optional. The day that this entry is logged on. Defaults to today if not specified
Trait Implementations§
Source§impl Clone for CreateTimeTrackingEntryRequestBody
impl Clone for CreateTimeTrackingEntryRequestBody
Source§fn clone(&self) -> CreateTimeTrackingEntryRequestBody
fn clone(&self) -> CreateTimeTrackingEntryRequestBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateTimeTrackingEntryRequestBody
impl Default for CreateTimeTrackingEntryRequestBody
Source§fn default() -> CreateTimeTrackingEntryRequestBody
fn default() -> CreateTimeTrackingEntryRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTimeTrackingEntryRequestBody
impl<'de> Deserialize<'de> for CreateTimeTrackingEntryRequestBody
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 CreateTimeTrackingEntryRequestBody
impl RefUnwindSafe for CreateTimeTrackingEntryRequestBody
impl Send for CreateTimeTrackingEntryRequestBody
impl Sync for CreateTimeTrackingEntryRequestBody
impl Unpin for CreateTimeTrackingEntryRequestBody
impl UnwindSafe for CreateTimeTrackingEntryRequestBody
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