pub struct PagespeedApiFormatStringV4ArgsRects {
pub height: Option<i32>,
pub left: Option<i32>,
pub top: Option<i32>,
pub width: Option<i32>,
}Expand description
The screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments. If this is absent for a SNAPSHOT_RECT argument, it means that that argument refers to the entire snapshot.
This type is not used in any activity, and only used as part of another schema.
Fields§
§height: Option<i32>no description provided
left: Option<i32>no description provided
top: Option<i32>no description provided
width: Option<i32>no description provided
Trait Implementations§
Source§impl Clone for PagespeedApiFormatStringV4ArgsRects
impl Clone for PagespeedApiFormatStringV4ArgsRects
Source§fn clone(&self) -> PagespeedApiFormatStringV4ArgsRects
fn clone(&self) -> PagespeedApiFormatStringV4ArgsRects
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PagespeedApiFormatStringV4ArgsRects
impl Default for PagespeedApiFormatStringV4ArgsRects
Source§fn default() -> PagespeedApiFormatStringV4ArgsRects
fn default() -> PagespeedApiFormatStringV4ArgsRects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PagespeedApiFormatStringV4ArgsRects
impl<'de> Deserialize<'de> for PagespeedApiFormatStringV4ArgsRects
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 NestedType for PagespeedApiFormatStringV4ArgsRects
impl Part for PagespeedApiFormatStringV4ArgsRects
Auto Trait Implementations§
impl Freeze for PagespeedApiFormatStringV4ArgsRects
impl RefUnwindSafe for PagespeedApiFormatStringV4ArgsRects
impl Send for PagespeedApiFormatStringV4ArgsRects
impl Sync for PagespeedApiFormatStringV4ArgsRects
impl Unpin for PagespeedApiFormatStringV4ArgsRects
impl UnsafeUnpin for PagespeedApiFormatStringV4ArgsRects
impl UnwindSafe for PagespeedApiFormatStringV4ArgsRects
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