Struct google_pagespeedonline2::api::Result
source · pub struct Result {
pub captcha_result: Option<String>,
pub formatted_results: Option<ResultFormattedResults>,
pub id: Option<String>,
pub invalid_rules: Option<Vec<String>>,
pub kind: Option<String>,
pub page_stats: Option<ResultPageStats>,
pub response_code: Option<i32>,
pub rule_groups: Option<HashMap<String, ResultRuleGroups>>,
pub screenshot: Option<PagespeedApiImageV2>,
pub title: Option<String>,
pub version: Option<ResultVersion>,
}
Expand description
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).
- runpagespeed pagespeedapi (response)
Fields§
§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.
id: Option<String>
Canonicalized and final URL for the document, after following page redirects (if any).
invalid_rules: Option<Vec<String>>
List of rules that were specified in the request, but which the server did not know how to instantiate.
kind: Option<String>
Kind of result.
page_stats: Option<ResultPageStats>
Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.
response_code: Option<i32>
Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.
rule_groups: Option<HashMap<String, ResultRuleGroups>>
A map with one entry for each rule group in these results.
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.
version: Option<ResultVersion>
The version of PageSpeed used to generate these results.