pub struct UpdateTimeTrackPayload {
pub title: Option<String>,
pub notes: Option<String>,
pub category: Option<String>,
pub category_title: Option<String>,
pub starts_at: Option<DateTime>,
pub ends_at: Option<DateTime>,
}Fields§
§title: Option<String>Ignored by the server. A time track’s title is the constant “Time Track”; HEY dropped per-track titles in 2023. Kept for compatibility only.
notes: Option<String>§category: Option<String>Ignored by the server, which reads category_title instead. Kept for compatibility only.
category_title: Option<String>Files the track under this category, creating the category if HEY does not have one by that name. Blank is a no-op, not a way to clear the category: once filed, a track can only be moved to another category, or left where it is by deleting the category itself.
starts_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
ends_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
Trait Implementations§
Source§impl Clone for UpdateTimeTrackPayload
impl Clone for UpdateTimeTrackPayload
Source§fn clone(&self) -> UpdateTimeTrackPayload
fn clone(&self) -> UpdateTimeTrackPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateTimeTrackPayload
impl Debug for UpdateTimeTrackPayload
Source§impl Default for UpdateTimeTrackPayload
impl Default for UpdateTimeTrackPayload
Source§fn default() -> UpdateTimeTrackPayload
fn default() -> UpdateTimeTrackPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateTimeTrackPayload
impl<'de> Deserialize<'de> for UpdateTimeTrackPayload
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
Source§impl PartialEq for UpdateTimeTrackPayload
impl PartialEq for UpdateTimeTrackPayload
Source§impl Serialize for UpdateTimeTrackPayload
impl Serialize for UpdateTimeTrackPayload
impl StructuralPartialEq for UpdateTimeTrackPayload
Auto Trait Implementations§
impl Freeze for UpdateTimeTrackPayload
impl RefUnwindSafe for UpdateTimeTrackPayload
impl Send for UpdateTimeTrackPayload
impl Sync for UpdateTimeTrackPayload
impl Unpin for UpdateTimeTrackPayload
impl UnsafeUnpin for UpdateTimeTrackPayload
impl UnwindSafe for UpdateTimeTrackPayload
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