[][src]Struct google_pagespeedonline2::ResultFormattedResultsRuleResults

pub struct ResultFormattedResultsRuleResults {
    pub localized_rule_name: Option<String>,
    pub url_blocks: Option<Vec<ResultFormattedResultsRuleResultsUrlBlocks>>,
    pub groups: Option<Vec<String>>,
    pub rule_impact: Option<f64>,
    pub summary: Option<PagespeedApiFormatStringV2>,
}

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

localized_rule_name: Option<String>

Localized name of the rule, intended for presentation to a user.

url_blocks: Option<Vec<ResultFormattedResultsRuleResultsUrlBlocks>>

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

groups: Option<Vec<String>>

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

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.

summary: Option<PagespeedApiFormatStringV2>

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 Clone for ResultFormattedResultsRuleResults[src]

impl Debug for ResultFormattedResultsRuleResults[src]

impl Default for ResultFormattedResultsRuleResults[src]

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

impl NestedType for ResultFormattedResultsRuleResults[src]

impl Part for ResultFormattedResultsRuleResults[src]

impl Serialize for ResultFormattedResultsRuleResults[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any