Struct Values

Source
pub struct Values {
Show 64 fields pub edge_requests: Option<i64>, pub edge_resp_header_bytes: Option<i64>, pub edge_resp_body_bytes: Option<i64>, pub status_1xx: Option<i64>, pub status_2xx: Option<i64>, pub status_3xx: Option<i64>, pub status_4xx: Option<i64>, pub status_5xx: Option<i64>, pub status_200: Option<i64>, pub status_204: Option<i64>, pub status_206: Option<i64>, pub status_301: Option<i64>, pub status_302: Option<i64>, pub status_304: Option<i64>, pub status_400: Option<i64>, pub status_401: Option<i64>, pub status_403: Option<i64>, pub status_404: Option<i64>, pub status_416: Option<i64>, pub status_429: Option<i64>, pub status_500: Option<i64>, pub status_501: Option<i64>, pub status_502: Option<i64>, pub status_503: Option<i64>, pub status_504: Option<i64>, pub status_505: Option<i64>, pub status_530: Option<i64>, pub requests: Option<i64>, pub resp_header_bytes: Option<i64>, pub resp_body_bytes: Option<i64>, pub bereq_header_bytes: Option<i64>, pub bereq_body_bytes: Option<i64>, pub edge_hit_requests: Option<i64>, pub edge_miss_requests: Option<i64>, pub origin_fetches: Option<i64>, pub origin_fetch_resp_header_bytes: Option<i64>, pub origin_fetch_resp_body_bytes: Option<i64>, pub bandwidth: Option<i64>, pub edge_hit_ratio: Option<f32>, pub origin_offload: Option<f32>, pub origin_status_200: Option<i64>, pub origin_status_204: Option<i64>, pub origin_status_206: Option<i64>, pub origin_status_301: Option<i64>, pub origin_status_302: Option<i64>, pub origin_status_304: Option<i64>, pub origin_status_400: Option<i64>, pub origin_status_401: Option<i64>, pub origin_status_403: Option<i64>, pub origin_status_404: Option<i64>, pub origin_status_416: Option<i64>, pub origin_status_429: Option<i64>, pub origin_status_500: Option<i64>, pub origin_status_501: Option<i64>, pub origin_status_502: Option<i64>, pub origin_status_503: Option<i64>, pub origin_status_504: Option<i64>, pub origin_status_505: Option<i64>, pub origin_status_530: Option<i64>, pub origin_status_1xx: Option<i64>, pub origin_status_2xx: Option<i64>, pub origin_status_3xx: Option<i64>, pub origin_status_4xx: Option<i64>, pub origin_status_5xx: Option<i64>,
}
Expand description

Values : The results of the query, optionally filtered and grouped over the requested timespan.

Fields§

§edge_requests: Option<i64>

Number of requests sent by end users to Fastly.

§edge_resp_header_bytes: Option<i64>

Total header bytes delivered from Fastly to the end user.

§edge_resp_body_bytes: Option<i64>

Total body bytes delivered from Fastly to the end user.

§status_1xx: Option<i64>

Number of 1xx "Informational" category status codes delivered.

§status_2xx: Option<i64>

Number of 2xx "Success" status codes delivered.

§status_3xx: Option<i64>

Number of 3xx "Redirection" codes delivered.

§status_4xx: Option<i64>

Number of 4xx "Client Error" codes delivered.

§status_5xx: Option<i64>

Number of 5xx "Server Error" codes delivered.

§status_200: Option<i64>

Number of responses delivered with status code 200 (Success).

§status_204: Option<i64>

Number of responses delivered with status code 204 (No Content).

§status_206: Option<i64>

Number of responses delivered with status code 206 (Partial Content).

§status_301: Option<i64>

Number of responses delivered with status code 301 (Moved Permanently).

§status_302: Option<i64>

Number of responses delivered with status code 302 (Found).

§status_304: Option<i64>

Number of responses delivered with status code 304 (Not Modified).

§status_400: Option<i64>

Number of responses delivered with status code 400 (Bad Request).

§status_401: Option<i64>

Number of responses delivered with status code 401 (Unauthorized).

§status_403: Option<i64>

Number of responses delivered with status code 403 (Forbidden).

§status_404: Option<i64>

Number of responses delivered with status code 404 (Not Found).

§status_416: Option<i64>

Number of responses delivered with status code 416 (Range Not Satisfiable).

§status_429: Option<i64>

Number of responses delivered with status code 429 (Too Many Requests).

§status_500: Option<i64>

Number of responses delivered with status code 500 (Internal Server Error).

§status_501: Option<i64>

Number of responses delivered with status code 501 (Not Implemented).

§status_502: Option<i64>

Number of responses delivered with status code 502 (Bad Gateway).

§status_503: Option<i64>

Number of responses delivered with status code 503 (Service Unavailable).

§status_504: Option<i64>

Number of responses delivered with status code 504 (Gateway Timeout).

§status_505: Option<i64>

Number of responses delivered with status code 505 (HTTP Version Not Supported).

§status_530: Option<i64>

Number of responses delivered with status code 530.

§requests: Option<i64>

Number of requests processed.

§resp_header_bytes: Option<i64>

Total header bytes delivered.

§resp_body_bytes: Option<i64>

Total body bytes delivered.

§bereq_header_bytes: Option<i64>

Total header bytes sent to origin.

§bereq_body_bytes: Option<i64>

Total body bytes sent to origin.

§edge_hit_requests: Option<i64>

Number of requests sent by end users to Fastly that resulted in a hit at the edge.

§edge_miss_requests: Option<i64>

Number of requests sent by end users to Fastly that resulted in a miss at the edge.

§origin_fetches: Option<i64>

Number of requests sent to origin.

§origin_fetch_resp_header_bytes: Option<i64>

Total header bytes received from origin.

§origin_fetch_resp_body_bytes: Option<i64>

Total body bytes received from origin.

§bandwidth: Option<i64>

Total bytes delivered (resp_header_bytes + resp_body_bytes + bereq_header_bytes + bereq_body_bytes).

§edge_hit_ratio: Option<f32>

Ratio of cache hits to cache misses at the edge, between 0 and 1 (edge_hit_requests / (edge_hit_requests + edge_miss_requests)).

§origin_offload: Option<f32>

Origin Offload measures the ratio of bytes served to end users that were cached by Fastly, over the bytes served to end users, between 0 and 1. ((edge_resp_body_bytes + edge_resp_header_bytes) - (origin_fetch_resp_body_bytes + origin_fetch_resp_header_bytes)) / (edge_resp_body_bytes + edge_resp_header_bytes). Previously, Origin Offload used a different formula. Learn more.

§origin_status_200: Option<i64>

Number of responses received from origin with status code 200 (Success).

§origin_status_204: Option<i64>

Number of responses received from origin with status code 204 (No Content).

§origin_status_206: Option<i64>

Number of responses received from origin with status code 206 (Partial Content).

§origin_status_301: Option<i64>

Number of responses received from origin with status code 301 (Moved Permanently).

§origin_status_302: Option<i64>

Number of responses received from origin with status code 302 (Found).

§origin_status_304: Option<i64>

Number of responses received from origin with status code 304 (Not Modified).

§origin_status_400: Option<i64>

Number of responses received from origin with status code 400 (Bad Request).

§origin_status_401: Option<i64>

Number of responses received from origin with status code 401 (Unauthorized).

§origin_status_403: Option<i64>

Number of responses received from origin with status code 403 (Forbidden).

§origin_status_404: Option<i64>

Number of responses received from origin with status code 404 (Not Found).

§origin_status_416: Option<i64>

Number of responses received from origin with status code 416 (Range Not Satisfiable).

§origin_status_429: Option<i64>

Number of responses received from origin with status code 429 (Too Many Requests).

§origin_status_500: Option<i64>

Number of responses received from origin with status code 500 (Internal Server Error).

§origin_status_501: Option<i64>

Number of responses received from origin with status code 501 (Not Implemented).

§origin_status_502: Option<i64>

Number of responses received from origin with status code 502 (Bad Gateway).

§origin_status_503: Option<i64>

Number of responses received from origin with status code 503 (Service Unavailable).

§origin_status_504: Option<i64>

Number of responses received from origin with status code 504 (Gateway Timeout).

§origin_status_505: Option<i64>

Number of responses received from origin with status code 505 (HTTP Version Not Supported).

§origin_status_530: Option<i64>

Number of responses received from origin with status code 530.

§origin_status_1xx: Option<i64>

Number of "Informational" category status codes received from origin.

§origin_status_2xx: Option<i64>

Number of "Success" status codes received from origin.

§origin_status_3xx: Option<i64>

Number of "Redirection" codes received from origin.

§origin_status_4xx: Option<i64>

Number of "Client Error" codes received from origin.

§origin_status_5xx: Option<i64>

Number of "Server Error" codes received from origin.

Implementations§

Source§

impl Values

Source

pub fn new() -> Values

The results of the query, optionally filtered and grouped over the requested timespan.

Trait Implementations§

Source§

impl Clone for Values

Source§

fn clone(&self) -> Values

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Values

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Values

Source§

fn default() -> Values

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Values

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Values

Source§

fn eq(&self, other: &Values) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Values

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Values

Auto Trait Implementations§

§

impl Freeze for Values

§

impl RefUnwindSafe for Values

§

impl Send for Values

§

impl Sync for Values

§

impl Unpin for Values

§

impl UnwindSafe for Values

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,