Struct google_pagespeedonline4::PagespeedApiPagespeedResponseV4FormattedResultsRuleResults [−][src]
pub struct PagespeedApiPagespeedResponseV4FormattedResultsRuleResults { pub beta: Option<bool>, pub groups: Option<Vec<String>>, pub rule_impact: Option<f64>, pub localized_rule_name: Option<String>, pub url_blocks: Option<Vec<PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocks>>, pub summary: Option<PagespeedApiFormatStringV4>, }
The enum-like identifier for this rule. For instance "EnableKeepAlive" or "AvoidCssImport". Not localized.
This type is not used in any activity, and only used as part of another schema.
Fields
beta: Option<bool>
Whether this rule is in 'beta'. Rules in beta are new rules that are being tested, which do not impact the overall score.
groups: Option<Vec<String>>
List of rule groups that this rule belongs to. Each entry in the list is one of "SPEED", "USABILITY", or "SECURITY".
rule_impact: Option<f64>
The impact (unbounded floating point value) that implementing the suggestions for this rule would have on making the page faster. Impact is comparable between rules to determine which rule's suggestions would have a higher or lower impact on making a page faster. For instance, if enabling compression would save 1MB, while optimizing images would save 500kB, the enable compression rule would have 2x the impact of the image optimization rule, all other things being equal.
localized_rule_name: Option<String>
Localized name of the rule, intended for presentation to a user.
url_blocks: Option<Vec<PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocks>>
List of blocks of URLs. Each block may contain a heading and a list of URLs. Each URL may optionally include additional details.
summary: Option<PagespeedApiFormatStringV4>
A brief summary description for the rule, indicating at a high level what should be done to follow the rule and what benefit can be gained by doing so.
Trait Implementations
impl Default for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
impl Default for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
fn default() -> PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
fn default() -> PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
Returns the "default value" for a type. Read more
impl Clone for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
impl Clone for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
fn clone(&self) -> PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
fn clone(&self) -> PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
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 PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
impl Debug for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
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 PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
impl NestedType for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
impl Part for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults
[src]
impl Part for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults