Struct google_analytics3::api::CustomMetrics
source · pub struct CustomMetrics {
pub items: Option<Vec<CustomMetric>>,
pub items_per_page: Option<i32>,
pub kind: Option<String>,
pub next_link: Option<String>,
pub previous_link: Option<String>,
pub start_index: Option<i32>,
pub total_results: Option<i32>,
pub username: Option<String>,
}Expand description
A custom metric collection lists Analytics custom metrics to which the user has access. Each resource in the collection corresponds to a single Analytics custom metric.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- custom metrics list management (response)
Fields§
§items: Option<Vec<CustomMetric>>Collection of custom metrics.
items_per_page: Option<i32>The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
kind: Option<String>Collection type.
next_link: Option<String>Link to next page for this custom metric collection.
previous_link: Option<String>Link to previous page for this custom metric collection.
start_index: Option<i32>The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
total_results: Option<i32>The total number of results for the query, regardless of the number of results in the response.
username: Option<String>Email ID of the authenticated user
Trait Implementations§
source§impl Clone for CustomMetrics
impl Clone for CustomMetrics
source§fn clone(&self) -> CustomMetrics
fn clone(&self) -> CustomMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CustomMetrics
impl Debug for CustomMetrics
source§impl Default for CustomMetrics
impl Default for CustomMetrics
source§fn default() -> CustomMetrics
fn default() -> CustomMetrics
source§impl<'de> Deserialize<'de> for CustomMetrics
impl<'de> Deserialize<'de> for CustomMetrics
source§fn 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>,
source§impl Serialize for CustomMetrics
impl Serialize for CustomMetrics
impl ResponseResult for CustomMetrics
Auto Trait Implementations§
impl Freeze for CustomMetrics
impl RefUnwindSafe for CustomMetrics
impl Send for CustomMetrics
impl Sync for CustomMetrics
impl Unpin for CustomMetrics
impl UnwindSafe for CustomMetrics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more