pub struct Goals {
pub items: Option<Vec<Goal>>,
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 goal collection lists Analytics goals to which the user has access. Each view (profile) can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.
§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).
- goals list management (response)
Fields§
§items: Option<Vec<Goal>>
A list of goals.
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 goal collection.
previous_link: Option<String>
Link to previous page for this goal 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 resources in the result.
username: Option<String>
Email ID of the authenticated user
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Goals
impl<'de> Deserialize<'de> for Goals
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 Goals
Auto Trait Implementations§
impl Freeze for Goals
impl RefUnwindSafe for Goals
impl Send for Goals
impl Sync for Goals
impl Unpin for Goals
impl UnwindSafe for Goals
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