Struct google_pagespeedonline2::PagespeedApiFormatStringV2Args
[−]
[src]
pub struct PagespeedApiFormatStringV2Args { pub rects: Option<Vec<PagespeedApiFormatStringV2ArgsRects>>, pub key: Option<String>, pub type_: Option<String>, pub secondary_rects: Option<Vec<PagespeedApiFormatStringV2ArgsSecondaryRects>>, 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<PagespeedApiFormatStringV2ArgsRects>>
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<PagespeedApiFormatStringV2ArgsSecondaryRects>>
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 Debug for PagespeedApiFormatStringV2Args
[src]
impl Clone for PagespeedApiFormatStringV2Args
[src]
fn clone(&self) -> PagespeedApiFormatStringV2Args
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for PagespeedApiFormatStringV2Args
[src]
fn default() -> PagespeedApiFormatStringV2Args
Returns the "default value" for a type. Read more