pub struct Segments {
pub items: Option<Vec<Segment>>,
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
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).
- segments list management (response)
Fields§
§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.
kind: Option<String>
Collection type for segments.
next_link: Option<String>
Link to next page for this segment collection.
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.
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<'de> Deserialize<'de> for Segments
impl<'de> Deserialize<'de> for Segments
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>,
impl ResponseResult for Segments
Auto Trait Implementations§
impl Freeze for Segments
impl RefUnwindSafe for Segments
impl Send for Segments
impl Sync for Segments
impl Unpin for Segments
impl UnwindSafe for Segments
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