Struct google_manufacturers1::api::FloatUnit
source · pub struct FloatUnit {
pub amount: Option<f64>,
pub unit: Option<String>,
}
Expand description
Combination of float amount and unit.
This type is not used in any activity, and only used as part of another schema.
Fields§
§amount: Option<f64>
amount.
unit: Option<String>
unit.
Trait Implementations§
source§impl<'de> Deserialize<'de> for FloatUnit
impl<'de> Deserialize<'de> for FloatUnit
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
impl Part for FloatUnit
Auto Trait Implementations§
impl RefUnwindSafe for FloatUnit
impl Send for FloatUnit
impl Sync for FloatUnit
impl Unpin for FloatUnit
impl UnwindSafe for FloatUnit
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