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

Whether this rule is in 'beta'. Rules in beta are new rules that are being tested, which do not impact the overall score.

List of rule groups that this rule belongs to. Each entry in the list is one of "SPEED", "USABILITY", or "SECURITY".

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 name of the rule, intended for presentation to a user.

List of blocks of URLs. Each block may contain a heading and a list of URLs. Each URL may optionally include additional details.

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

Auto Trait Implementations