pub struct AccountUserProfile {
Show 16 fields pub account_id: Option<i64>, pub active: Option<bool>, pub advertiser_filter: Option<ObjectFilter>, pub campaign_filter: Option<ObjectFilter>, pub comments: Option<String>, pub email: Option<String>, pub id: Option<i64>, pub kind: Option<String>, pub locale: Option<String>, pub name: Option<String>, pub site_filter: Option<ObjectFilter>, pub subaccount_id: Option<i64>, pub trafficker_type: Option<String>, pub user_access_type: Option<String>, pub user_role_filter: Option<ObjectFilter>, pub user_role_id: Option<i64>,
}
Expand description

AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.

§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<i64>

Account ID of the user profile. This is a read-only field that can be left blank.

§active: Option<bool>

Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.

§advertiser_filter: Option<ObjectFilter>

Filter that describes which advertisers are visible to the user profile.

§campaign_filter: Option<ObjectFilter>

Filter that describes which campaigns are visible to the user profile.

§comments: Option<String>

Comments for this user profile.

§email: Option<String>

Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.

§id: Option<i64>

ID of the user profile. This is a read-only, auto-generated field.

§kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#accountUserProfile”.

§locale: Option<String>

Locale of the user profile. This is a required field. Acceptable values are:

  • “cs” (Czech)
  • “de” (German)
  • “en” (English)
  • “en-GB” (English United Kingdom)
  • “es” (Spanish)
  • “fr” (French)
  • “it” (Italian)
  • “ja” (Japanese)
  • “ko” (Korean)
  • “pl” (Polish)
  • “pt-BR” (Portuguese Brazil)
  • “ru” (Russian)
  • “sv” (Swedish)
  • “tr” (Turkish)
  • “zh-CN” (Chinese Simplified)
  • “zh-TW” (Chinese Traditional)
§name: Option<String>

Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: “&;”#%,“.

§site_filter: Option<ObjectFilter>

Filter that describes which sites are visible to the user profile.

§subaccount_id: Option<i64>

Subaccount ID of the user profile. This is a read-only field that can be left blank.

§trafficker_type: Option<String>

Trafficker type of this user profile. This is a read-only field.

§user_access_type: Option<String>

User type of the user profile. This is a read-only field that can be left blank.

§user_role_filter: Option<ObjectFilter>

Filter that describes which user roles are visible to the user profile.

§user_role_id: Option<i64>

User role ID of the user profile. This is a required field.

Trait Implementations§

source§

impl Clone for AccountUserProfile

source§

fn clone(&self) -> AccountUserProfile

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 AccountUserProfile

source§

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

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

impl Default for AccountUserProfile

source§

fn default() -> AccountUserProfile

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

impl<'de> Deserialize<'de> for AccountUserProfile

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 AccountUserProfile

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 AccountUserProfile

source§

impl Resource for AccountUserProfile

source§

impl ResponseResult for AccountUserProfile

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>,