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