pub struct CustomDimension {
pub account_id: Option<String>,
pub active: Option<bool>,
pub created: Option<DateTime<Utc>>,
pub id: Option<String>,
pub index: Option<i32>,
pub kind: Option<String>,
pub name: Option<String>,
pub parent_link: Option<CustomDimensionParentLink>,
pub scope: Option<String>,
pub self_link: Option<String>,
pub updated: Option<DateTime<Utc>>,
pub web_property_id: Option<String>,
}
Expand description
JSON template for Analytics Custom Dimension.
§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 dimensions get management (response)
- custom dimensions insert management (request|response)
- custom dimensions patch management (request|response)
- custom dimensions update management (request|response)
Fields§
§account_id: Option<String>
Account ID.
active: Option<bool>
Boolean indicating whether the custom dimension is active.
created: Option<DateTime<Utc>>
Time the custom dimension was created.
id: Option<String>
Custom dimension ID.
index: Option<i32>
Index of the custom dimension.
kind: Option<String>
Kind value for a custom dimension. Set to “analytics#customDimension”. It is a read-only field.
name: Option<String>
Name of the custom dimension.
parent_link: Option<CustomDimensionParentLink>
Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
scope: Option<String>
Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
self_link: Option<String>
Link for the custom dimension
updated: Option<DateTime<Utc>>
Time the custom dimension was last modified.
web_property_id: Option<String>
Property ID.
Trait Implementations§
Source§impl Clone for CustomDimension
impl Clone for CustomDimension
Source§fn clone(&self) -> CustomDimension
fn clone(&self) -> CustomDimension
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CustomDimension
impl Debug for CustomDimension
Source§impl Default for CustomDimension
impl Default for CustomDimension
Source§fn default() -> CustomDimension
fn default() -> CustomDimension
Source§impl<'de> Deserialize<'de> for CustomDimension
impl<'de> Deserialize<'de> for CustomDimension
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 CustomDimension
impl Serialize for CustomDimension
impl RequestValue for CustomDimension
impl ResponseResult for CustomDimension
Auto Trait Implementations§
impl Freeze for CustomDimension
impl RefUnwindSafe for CustomDimension
impl Send for CustomDimension
impl Sync for CustomDimension
impl Unpin for CustomDimension
impl UnwindSafe for CustomDimension
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