pub struct Container {
pub account_id: Option<String>,
pub container_id: Option<String>,
pub domain_name: Option<Vec<String>>,
pub enabled_built_in_variable: Option<Vec<String>>,
pub fingerprint: Option<String>,
pub name: Option<String>,
pub notes: Option<String>,
pub public_id: Option<String>,
pub time_zone_country_id: Option<String>,
pub time_zone_id: Option<String>,
pub usage_context: Option<Vec<String>>,
}
Expand description
Represents a Google Tag Manager Container.
§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).
- containers create accounts (request|response)
- containers get accounts (response)
- containers update accounts (request|response)
Fields§
§account_id: Option<String>
GTM Account ID.
container_id: Option<String>
The Container ID uniquely identifies the GTM Container.
domain_name: Option<Vec<String>>
Optional list of domain names associated with the Container. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
enabled_built_in_variable: Option<Vec<String>>
List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
fingerprint: Option<String>
The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
name: Option<String>
Container display name. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
notes: Option<String>
Container Notes. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
public_id: Option<String>
Container Public ID.
time_zone_country_id: Option<String>
Container Country ID. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
time_zone_id: Option<String>
Container Time Zone ID. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
usage_context: Option<Vec<String>>
List of Usage Contexts for the Container. Valid values include: web, android, ios. @mutable tagmanager.accounts.containers.create @mutable tagmanager.accounts.containers.update
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Container
impl<'de> Deserialize<'de> for Container
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 RequestValue for Container
impl ResponseResult for Container
Auto Trait Implementations§
impl Freeze for Container
impl RefUnwindSafe for Container
impl Send for Container
impl Sync for Container
impl Unpin for Container
impl UnwindSafe for Container
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