Struct google_analytics3::CustomDimension
source · pub struct CustomDimension {
pub index: Option<i32>,
pub kind: Option<String>,
pub name: Option<String>,
pub created: Option<String>,
pub updated: Option<String>,
pub web_property_id: Option<String>,
pub active: Option<bool>,
pub scope: Option<String>,
pub parent_link: Option<CustomDimensionParentLink>,
pub id: Option<String>,
pub self_link: Option<String>,
pub account_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 insert management (request|response)
- custom dimensions patch management (request|response)
- custom dimensions update management (request|response)
- custom dimensions get management (response)
Fields§
§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.
created: Option<String>Time the custom dimension was created.
updated: Option<String>Time the custom dimension was last modified.
web_property_id: Option<String>Property ID.
active: Option<bool>Boolean indicating whether the custom dimension is active.
scope: Option<String>Scope of the custom dimension: HIT, SESSION, USER or PRODUCT.
parent_link: Option<CustomDimensionParentLink>Parent link for the custom dimension. Points to the property to which the custom dimension belongs.
id: Option<String>Custom dimension ID.
self_link: Option<String>Link for the custom dimension
account_id: Option<String>Account 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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