pub struct Webproperty {
Show 19 fields pub account_id: Option<String>, pub child_link: Option<WebpropertyChildLink>, pub created: Option<DateTime<Utc>>, pub data_retention_reset_on_new_activity: Option<bool>, pub data_retention_ttl: Option<String>, pub default_profile_id: Option<i64>, pub id: Option<String>, pub industry_vertical: Option<String>, pub internal_web_property_id: Option<String>, pub kind: Option<String>, pub level: Option<String>, pub name: Option<String>, pub parent_link: Option<WebpropertyParentLink>, pub permissions: Option<WebpropertyPermissions>, pub profile_count: Option<i32>, pub self_link: Option<String>, pub starred: Option<bool>, pub updated: Option<DateTime<Utc>>, pub website_url: Option<String>,
}
Expand description

JSON template for an Analytics web property.

§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).

Fields§

§account_id: Option<String>

Account ID to which this web property belongs.

§child_link: Option<WebpropertyChildLink>

Child link for this web property. Points to the list of views (profiles) for this web property.

§created: Option<DateTime<Utc>>

Time this web property was created.

§data_retention_reset_on_new_activity: Option<bool>

Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period). Set to false to delete data associated with the user identifier automatically after the rentention period. This property cannot be set on insert.

§data_retention_ttl: Option<String>

The length of time for which user and event data is retained. This property cannot be set on insert.

§default_profile_id: Option<i64>

Default view (profile) ID.

§id: Option<String>

Web property ID of the form UA-XXXXX-YY.

§industry_vertical: Option<String>

The industry vertical/category selected for this web property.

§internal_web_property_id: Option<String>

Internal ID for this web property.

§kind: Option<String>

Resource type for Analytics WebProperty.

§level: Option<String>

Level for this web property. Possible values are STANDARD or PREMIUM.

§name: Option<String>

Name of this web property.

§parent_link: Option<WebpropertyParentLink>

Parent link for this web property. Points to the account to which this web property belongs.

§permissions: Option<WebpropertyPermissions>

Permissions the user has for this web property.

§profile_count: Option<i32>

View (Profile) count for this web property.

§self_link: Option<String>

Link for this web property.

§starred: Option<bool>

Indicates whether this web property is starred or not.

§updated: Option<DateTime<Utc>>

Time this web property was last modified.

§website_url: Option<String>

Website url for this web property.

Trait Implementations§

source§

impl Clone for Webproperty

source§

fn clone(&self) -> Webproperty

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Webproperty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Webproperty

source§

fn default() -> Webproperty

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Webproperty

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Webproperty

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for Webproperty

source§

impl ResponseResult for Webproperty

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,