pub enum SyncTaskType {
Activities {
start: u32,
limit: u32,
min_date: Option<NaiveDate>,
max_date: Option<NaiveDate>,
},
ActivityDetail {
activity_id: i64,
},
DownloadGpx {
activity_id: i64,
activity_name: Option<String>,
activity_date: Option<String>,
},
DailyHealth {
date: NaiveDate,
},
Performance {
date: NaiveDate,
},
Weight {
from: NaiveDate,
to: NaiveDate,
},
GenerateEmbeddings {
activity_ids: Vec<i64>,
},
}Expand description
Sync task types
Variants§
Trait Implementations§
Source§impl Clone for SyncTaskType
impl Clone for SyncTaskType
Source§fn clone(&self) -> SyncTaskType
fn clone(&self) -> SyncTaskType
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 SyncTaskType
impl Debug for SyncTaskType
Source§impl<'de> Deserialize<'de> for SyncTaskType
impl<'de> Deserialize<'de> for SyncTaskType
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 SyncTaskType
impl RefUnwindSafe for SyncTaskType
impl Send for SyncTaskType
impl Sync for SyncTaskType
impl Unpin for SyncTaskType
impl UnsafeUnpin for SyncTaskType
impl UnwindSafe for SyncTaskType
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