[][src]Struct google_pagespeedonline2::ResultType

pub struct ResultType {
    pub kind: Option<String>,
    pub captcha_result: Option<String>,
    pub formatted_results: Option<ResultFormattedResults>,
    pub screenshot: Option<PagespeedApiImageV2>,
    pub title: Option<String>,
    pub rule_groups: Option<HashMap<String, ResultRuleGroups>>,
    pub version: Option<ResultVersion>,
    pub response_code: Option<i32>,
    pub invalid_rules: Option<Vec<String>>,
    pub page_stats: Option<ResultPageStats>,
    pub id: Option<String>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

kind: Option<String>

Kind of result.

captcha_result: Option<String>

The captcha verify result

formatted_results: Option<ResultFormattedResults>

Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.

screenshot: Option<PagespeedApiImageV2>

Base64-encoded screenshot of the page that was analyzed.

title: Option<String>

Title of the page, as displayed in the browser's title bar.

rule_groups: Option<HashMap<String, ResultRuleGroups>>

A map with one entry for each rule group in these results.

version: Option<ResultVersion>

The version of PageSpeed used to generate these results.

response_code: Option<i32>

Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.

invalid_rules: Option<Vec<String>>

List of rules that were specified in the request, but which the server did not know how to instantiate.

page_stats: Option<ResultPageStats>

Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.

id: Option<String>

Canonicalized and final URL for the document, after following page redirects (if any).

Trait Implementations

impl ResponseResult for ResultType[src]

impl Default for ResultType[src]

impl Clone for ResultType[src]

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

Performs copy-assignment from source. Read more

impl Debug for ResultType[src]

impl Serialize for ResultType[src]

impl<'de> Deserialize<'de> for ResultType[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]