pub struct Accounts {
pub items: Option<Vec<Account>>,
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 account collection provides a list of Analytics accounts to which a user has access. The account collection is the entry point to all management information. Each resource in the collection corresponds to a single Analytics account.
§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).
- accounts list management (response)
Fields§
§items: Option<Vec<Account>>
A list of accounts.
items_per_page: Option<i32>
The maximum number of entries the response can contain, regardless of the actual number of entries 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>
Next link for this account collection.
previous_link: Option<String>
Previous link for this account collection.
start_index: Option<i32>
The starting index of the entries, 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 Accounts
impl<'de> Deserialize<'de> for Accounts
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 Accounts
Auto Trait Implementations§
impl Freeze for Accounts
impl RefUnwindSafe for Accounts
impl Send for Accounts
impl Sync for Accounts
impl Unpin for Accounts
impl UnwindSafe for Accounts
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