[][src]Struct google_pagespeedonline2::PagespeedApiFormatStringV2Args

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 Part for PagespeedApiFormatStringV2Args[src]

impl NestedType for PagespeedApiFormatStringV2Args[src]

impl Default for PagespeedApiFormatStringV2Args[src]

impl Clone for PagespeedApiFormatStringV2Args[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PagespeedApiFormatStringV2Args[src]

impl Serialize for PagespeedApiFormatStringV2Args[src]

impl<'de> Deserialize<'de> for PagespeedApiFormatStringV2Args[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]