pub struct LegacyExportTarget {
pub calories: i64,
pub protein_pct: Option<i64>,
pub carbs_pct: Option<i64>,
pub fat_pct: Option<i64>,
pub updated_at: Option<String>,
}Expand description
Legacy export target without day_of_week (for backward compatibility with old exports).
Fields§
§calories: i64§protein_pct: Option<i64>§carbs_pct: Option<i64>§fat_pct: Option<i64>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for LegacyExportTarget
impl Clone for LegacyExportTarget
Source§fn clone(&self) -> LegacyExportTarget
fn clone(&self) -> LegacyExportTarget
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 LegacyExportTarget
impl Debug for LegacyExportTarget
Source§impl<'de> Deserialize<'de> for LegacyExportTarget
impl<'de> Deserialize<'de> for LegacyExportTarget
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 LegacyExportTarget
impl RefUnwindSafe for LegacyExportTarget
impl Send for LegacyExportTarget
impl Sync for LegacyExportTarget
impl Unpin for LegacyExportTarget
impl UnsafeUnpin for LegacyExportTarget
impl UnwindSafe for LegacyExportTarget
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