[][src]Struct google_tagmanager1::Macro

pub struct Macro {
    pub schedule_start_ms: Option<String>,
    pub schedule_end_ms: Option<String>,
    pub macro_id: Option<String>,
    pub container_id: Option<String>,
    pub parameter: Option<Vec<Parameter>>,
    pub notes: Option<String>,
    pub fingerprint: Option<String>,
    pub disabling_rule_id: Option<Vec<String>>,
    pub enabling_rule_id: Option<Vec<String>>,
    pub account_id: Option<String>,
    pub type_: Option<String>,
    pub parent_folder_id: Option<String>,
    pub name: Option<String>,
}

Represents a Google Tag Manager Macro.

This type is not used in any activity, and only used as part of another schema.

Fields

schedule_start_ms: Option<String>

The start timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

schedule_end_ms: Option<String>

The end timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

macro_id: Option<String>

The Macro ID uniquely identifies the GTM Macro.

container_id: Option<String>

GTM Container ID.

parameter: Option<Vec<Parameter>>

The macro's parameters. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

notes: Option<String>

User notes on how to apply this macro in the container. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

fingerprint: Option<String>

The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.

disabling_rule_id: Option<Vec<String>>

For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

enabling_rule_id: Option<Vec<String>>

For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

account_id: Option<String>

GTM Account ID.

type_: Option<String>

GTM Macro Type. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

parent_folder_id: Option<String>

Parent folder id.

name: Option<String>

Macro display name. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update

Trait Implementations

impl Clone for Macro[src]

impl Debug for Macro[src]

impl Default for Macro[src]

impl<'de> Deserialize<'de> for Macro[src]

impl Part for Macro[src]

impl Serialize for Macro[src]

Auto Trait Implementations

impl RefUnwindSafe for Macro

impl Send for Macro

impl Sync for Macro

impl Unpin for Macro

impl UnwindSafe for Macro

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any