[][src]Struct google_analytics3::Segments

pub struct Segments {
    pub username: Option<String>,
    pub kind: Option<String>,
    pub items: Option<Vec<Segment>>,
    pub items_per_page: Option<i32>,
    pub previous_link: Option<String>,
    pub start_index: Option<i32>,
    pub next_link: Option<String>,
    pub total_results: Option<i32>,
}

An segment collection lists Analytics segments that the user has access to. Each resource in the collection corresponds to a single Analytics segment.

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).

Fields

username: Option<String>

Email ID of the authenticated user

kind: Option<String>

Collection type for segments.

items: Option<Vec<Segment>>

A list of segments.

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.

previous_link: Option<String>

Link to previous page for this segment 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.

next_link: Option<String>

Link to next page for this segment collection.

total_results: Option<i32>

The total number of results for the query, regardless of the number of results in the response.

Trait Implementations

impl Clone for Segments[src]

impl Debug for Segments[src]

impl Default for Segments[src]

impl<'de> Deserialize<'de> for Segments[src]

impl ResponseResult for Segments[src]

impl Serialize for Segments[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> Typeable for T where
    T: Any