pub struct ExportTarget {
pub day_of_week: i64,
pub calories: i64,
pub protein_pct: Option<i64>,
pub carbs_pct: Option<i64>,
pub fat_pct: Option<i64>,
pub updated_at: Option<String>,
}Fields§
§day_of_week: i64§calories: i64§protein_pct: Option<i64>§carbs_pct: Option<i64>§fat_pct: Option<i64>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for ExportTarget
impl Clone for ExportTarget
Source§fn clone(&self) -> ExportTarget
fn clone(&self) -> ExportTarget
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 ExportTarget
impl Debug for ExportTarget
Source§impl<'de> Deserialize<'de> for ExportTarget
impl<'de> Deserialize<'de> for ExportTarget
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 ExportTarget
impl RefUnwindSafe for ExportTarget
impl Send for ExportTarget
impl Sync for ExportTarget
impl Unpin for ExportTarget
impl UnsafeUnpin for ExportTarget
impl UnwindSafe for ExportTarget
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