Struct tgl_cli::api::NewTimeEntry
source · pub struct NewTimeEntry {
pub created_with: String,
pub description: Option<String>,
pub duration: Number,
pub project_id: Option<Number>,
pub start: String,
pub stop: Option<String>,
pub task_id: Option<Number>,
pub workspace_id: Number,
}Fields
created_with: Stringdescription: Option<String>duration: Numberproject_id: Option<Number>start: Stringstop: Option<String>task_id: Option<Number>workspace_id: NumberTrait Implementations
sourceimpl Debug for NewTimeEntry
impl Debug for NewTimeEntry
sourceimpl Serialize for NewTimeEntry
impl Serialize for NewTimeEntry
Auto Trait Implementations
impl RefUnwindSafe for NewTimeEntry
impl Send for NewTimeEntry
impl Sync for NewTimeEntry
impl Unpin for NewTimeEntry
impl UnwindSafe for NewTimeEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more