[][src]Struct google_pagespeedonline4::PagespeedApiPagespeedResponseV4FormattedResultsRuleResults

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 Part for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

impl NestedType for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

impl Default for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

impl Clone for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

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

Performs copy-assignment from source. Read more

impl Debug for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

impl Serialize for PagespeedApiPagespeedResponseV4FormattedResultsRuleResults[src]

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