Struct google_mybusiness4::api::Dimensions
source · pub struct Dimensions {
pub height_pixels: Option<i32>,
pub width_pixels: Option<i32>,
}
Expand description
Dimensions of the media item.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height_pixels: Option<i32>
Height of the media item, in pixels.
width_pixels: Option<i32>
Width of the media item, in pixels.
Trait Implementations§
source§impl Clone for Dimensions
impl Clone for Dimensions
source§fn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
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 Dimensions
impl Debug for Dimensions
source§impl Default for Dimensions
impl Default for Dimensions
source§fn default() -> Dimensions
fn default() -> Dimensions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Dimensions
impl<'de> Deserialize<'de> for Dimensions
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 Dimensions
impl Serialize for Dimensions
impl Part for Dimensions
Auto Trait Implementations§
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
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