Struct google_manufacturers1::api::VoluntaryNutritionFact
source · pub struct VoluntaryNutritionFact {
pub daily_percentage: Option<f64>,
pub name: Option<String>,
pub value: Option<FloatUnit>,
}
Expand description
Voluntary Nutrition Facts.
This type is not used in any activity, and only used as part of another schema.
Fields§
§daily_percentage: Option<f64>
Daily percentage.
name: Option<String>
Name.
value: Option<FloatUnit>
Value.
Trait Implementations§
source§impl Clone for VoluntaryNutritionFact
impl Clone for VoluntaryNutritionFact
source§fn clone(&self) -> VoluntaryNutritionFact
fn clone(&self) -> VoluntaryNutritionFact
Returns a copy 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 VoluntaryNutritionFact
impl Debug for VoluntaryNutritionFact
source§impl Default for VoluntaryNutritionFact
impl Default for VoluntaryNutritionFact
source§fn default() -> VoluntaryNutritionFact
fn default() -> VoluntaryNutritionFact
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VoluntaryNutritionFact
impl<'de> Deserialize<'de> for VoluntaryNutritionFact
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 Serialize for VoluntaryNutritionFact
impl Serialize for VoluntaryNutritionFact
impl Part for VoluntaryNutritionFact
Auto Trait Implementations§
impl RefUnwindSafe for VoluntaryNutritionFact
impl Send for VoluntaryNutritionFact
impl Sync for VoluntaryNutritionFact
impl Unpin for VoluntaryNutritionFact
impl UnwindSafe for VoluntaryNutritionFact
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