Struct google_pagespeedonline4::PagespeedApiFormatStringV4Args [−][src]
pub struct PagespeedApiFormatStringV4Args { pub rects: Option<Vec<PagespeedApiFormatStringV4ArgsRects>>, pub key: Option<String>, pub type_: Option<String>, pub secondary_rects: Option<Vec<PagespeedApiFormatStringV4ArgsSecondaryRects>>, pub value: Option<String>, }
List of arguments for the format string.
This type is not used in any activity, and only used as part of another schema.
Fields
rects: Option<Vec<PagespeedApiFormatStringV4ArgsRects>>
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.
key: Option<String>
The placeholder key for this arg, as a string.
type_: Option<String>
Type of argument. One of URL, STRING_LITERAL, INT_LITERAL, BYTES, DURATION, VERBATIM_STRING, PERCENTAGE, HYPERLINK, or SNAPSHOT_RECT.
secondary_rects: Option<Vec<PagespeedApiFormatStringV4ArgsSecondaryRects>>
Secondary screen rectangles being referred to, with dimensions measured in CSS pixels. This is only ever used for SNAPSHOT_RECT arguments.
value: Option<String>
Argument value, as a localized string.
Trait Implementations
impl Default for PagespeedApiFormatStringV4Args
[src]
impl Default for PagespeedApiFormatStringV4Args
fn default() -> PagespeedApiFormatStringV4Args
[src]
fn default() -> PagespeedApiFormatStringV4Args
Returns the "default value" for a type. Read more
impl Clone for PagespeedApiFormatStringV4Args
[src]
impl Clone for PagespeedApiFormatStringV4Args
fn clone(&self) -> PagespeedApiFormatStringV4Args
[src]
fn clone(&self) -> PagespeedApiFormatStringV4Args
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PagespeedApiFormatStringV4Args
[src]
impl Debug for PagespeedApiFormatStringV4Args
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NestedType for PagespeedApiFormatStringV4Args
[src]
impl NestedType for PagespeedApiFormatStringV4Args
impl Part for PagespeedApiFormatStringV4Args
[src]
impl Part for PagespeedApiFormatStringV4Args
Auto Trait Implementations
impl Send for PagespeedApiFormatStringV4Args
impl Send for PagespeedApiFormatStringV4Args
impl Sync for PagespeedApiFormatStringV4Args
impl Sync for PagespeedApiFormatStringV4Args