pub struct Macro {Show 13 fields
pub account_id: Option<String>,
pub container_id: Option<String>,
pub disabling_rule_id: Option<Vec<String>>,
pub enabling_rule_id: Option<Vec<String>>,
pub fingerprint: Option<String>,
pub macro_id: Option<String>,
pub name: Option<String>,
pub notes: Option<String>,
pub parameter: Option<Vec<Parameter>>,
pub parent_folder_id: Option<String>,
pub schedule_end_ms: Option<i64>,
pub schedule_start_ms: Option<i64>,
pub type_: Option<String>,
}
Expand description
Represents a Google Tag Manager Macro.
This type is not used in any activity, and only used as part of another schema.
Fields§
§account_id: Option<String>
GTM Account ID.
container_id: Option<String>
GTM Container ID.
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
fingerprint: Option<String>
The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
macro_id: Option<String>
The Macro ID uniquely identifies the GTM Macro.
name: Option<String>
Macro display name. @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
parameter: Option<Vec<Parameter>>
The macro’s parameters. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
parent_folder_id: Option<String>
Parent folder id.
schedule_end_ms: Option<i64>
The end timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
schedule_start_ms: Option<i64>
The start timestamp in milliseconds to schedule a macro. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
type_: Option<String>
GTM Macro Type. @mutable tagmanager.accounts.containers.macros.create @mutable tagmanager.accounts.containers.macros.update
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Macro
impl<'de> Deserialize<'de> for Macro
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 Part for Macro
Auto Trait Implementations§
impl Freeze for Macro
impl RefUnwindSafe for Macro
impl Send for Macro
impl Sync for Macro
impl Unpin for Macro
impl UnwindSafe for Macro
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