pub struct CustomTemplate {
pub account_id: Option<String>,
pub container_id: Option<String>,
pub fingerprint: Option<String>,
pub gallery_reference: Option<GalleryReference>,
pub name: Option<String>,
pub path: Option<String>,
pub tag_manager_url: Option<String>,
pub template_data: Option<String>,
pub template_id: Option<String>,
pub workspace_id: Option<String>,
}
Expand description
Represents a Google Tag Manager Custom Template’s contents.
§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 workspaces templates create accounts (request|response)
- containers workspaces templates get accounts (response)
- containers workspaces templates update accounts (request|response)
Fields§
§account_id: Option<String>
GTM Account ID.
container_id: Option<String>
GTM Container ID.
fingerprint: Option<String>
The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.
gallery_reference: Option<GalleryReference>
A reference to the Community Template Gallery entry.
name: Option<String>
Custom Template display name.
path: Option<String>
GTM Custom Template’s API relative path.
tag_manager_url: Option<String>
Auto generated link to the tag manager UI
template_data: Option<String>
The custom template in text format.
template_id: Option<String>
The Custom Template ID uniquely identifies the GTM custom template.
workspace_id: Option<String>
GTM Workspace ID.
Trait Implementations§
Source§impl Clone for CustomTemplate
impl Clone for CustomTemplate
Source§fn clone(&self) -> CustomTemplate
fn clone(&self) -> CustomTemplate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CustomTemplate
impl Debug for CustomTemplate
Source§impl Default for CustomTemplate
impl Default for CustomTemplate
Source§fn default() -> CustomTemplate
fn default() -> CustomTemplate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomTemplate
impl<'de> Deserialize<'de> for CustomTemplate
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CustomTemplate
impl Serialize for CustomTemplate
impl RequestValue for CustomTemplate
impl ResponseResult for CustomTemplate
Auto Trait Implementations§
impl Freeze for CustomTemplate
impl RefUnwindSafe for CustomTemplate
impl Send for CustomTemplate
impl Sync for CustomTemplate
impl Unpin for CustomTemplate
impl UnwindSafe for CustomTemplate
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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