Struct google_pagespeedonline2::api::ResultPageStats
source · [−]pub struct ResultPageStats {Show 13 fields
pub css_response_bytes: Option<String>,
pub flash_response_bytes: Option<String>,
pub html_response_bytes: Option<String>,
pub image_response_bytes: Option<String>,
pub javascript_response_bytes: Option<String>,
pub number_css_resources: Option<i32>,
pub number_hosts: Option<i32>,
pub number_js_resources: Option<i32>,
pub number_resources: Option<i32>,
pub number_static_resources: Option<i32>,
pub other_response_bytes: Option<String>,
pub text_response_bytes: Option<String>,
pub total_request_bytes: Option<String>,
}
Expand description
Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.
This type is not used in any activity, and only used as part of another schema.
Fields
css_response_bytes: Option<String>
Number of uncompressed response bytes for CSS resources on the page.
flash_response_bytes: Option<String>
Number of response bytes for flash resources on the page.
html_response_bytes: Option<String>
Number of uncompressed response bytes for the main HTML document and all iframes on the page.
image_response_bytes: Option<String>
Number of response bytes for image resources on the page.
javascript_response_bytes: Option<String>
Number of uncompressed response bytes for JS resources on the page.
number_css_resources: Option<i32>
Number of CSS resources referenced by the page.
number_hosts: Option<i32>
Number of unique hosts referenced by the page.
number_js_resources: Option<i32>
Number of JavaScript resources referenced by the page.
number_resources: Option<i32>
Number of HTTP resources loaded by the page.
number_static_resources: Option<i32>
Number of static (i.e. cacheable) resources on the page.
other_response_bytes: Option<String>
Number of response bytes for other resources on the page.
text_response_bytes: Option<String>
Number of uncompressed response bytes for text resources not covered by other statistics (i.e non-HTML, non-script, non-CSS resources) on the page.
total_request_bytes: Option<String>
Total size of all request bytes sent by the page.
Trait Implementations
sourceimpl Clone for ResultPageStats
impl Clone for ResultPageStats
sourcefn clone(&self) -> ResultPageStats
fn clone(&self) -> ResultPageStats
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResultPageStats
impl Debug for ResultPageStats
sourceimpl Default for ResultPageStats
impl Default for ResultPageStats
sourcefn default() -> ResultPageStats
fn default() -> ResultPageStats
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ResultPageStats
impl<'de> Deserialize<'de> for ResultPageStats
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ResultPageStats
impl Serialize for ResultPageStats
impl NestedType for ResultPageStats
impl Part for ResultPageStats
Auto Trait Implementations
impl RefUnwindSafe for ResultPageStats
impl Send for ResultPageStats
impl Sync for ResultPageStats
impl Unpin for ResultPageStats
impl UnwindSafe for ResultPageStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more