pub struct UpdateTimeEntry {
pub project_id: Option<Option<i64>>,
pub description: Option<String>,
pub billable: Option<bool>,
pub tags: Option<Vec<String>>,
pub tag_ids: Option<Vec<i64>>,
pub start: Option<DateTime<Utc>>,
pub stop: Option<Option<DateTime<Utc>>>,
pub duration: Option<i64>,
}Fields§
§project_id: Option<Option<i64>>§description: Option<String>§billable: Option<bool>§tag_ids: Option<Vec<i64>>§start: Option<DateTime<Utc>>§stop: Option<Option<DateTime<Utc>>>§duration: Option<i64>Implementations§
Source§impl UpdateTimeEntry
impl UpdateTimeEntry
pub fn project_id(project_id: Option<i64>) -> Self
pub fn description(description: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for UpdateTimeEntry
impl Clone for UpdateTimeEntry
Source§fn clone(&self) -> UpdateTimeEntry
fn clone(&self) -> UpdateTimeEntry
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 Debug for UpdateTimeEntry
impl Debug for UpdateTimeEntry
Source§impl Default for UpdateTimeEntry
impl Default for UpdateTimeEntry
Source§fn default() -> UpdateTimeEntry
fn default() -> UpdateTimeEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateTimeEntry
impl RefUnwindSafe for UpdateTimeEntry
impl Send for UpdateTimeEntry
impl Sync for UpdateTimeEntry
impl Unpin for UpdateTimeEntry
impl UnsafeUnpin for UpdateTimeEntry
impl UnwindSafe for UpdateTimeEntry
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