Struct google_docs1::api::Dimension
source · pub struct Dimension {
pub magnitude: Option<f64>,
pub unit: Option<String>,
}
Expand description
A magnitude in a single direction in the specified units.
This type is not used in any activity, and only used as part of another schema.
Fields§
§magnitude: Option<f64>
The magnitude.
unit: Option<String>
The units for magnitude.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Dimension
impl<'de> Deserialize<'de> for Dimension
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 Dimension
Auto Trait Implementations§
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnwindSafe for Dimension
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