pub struct GtagRegistry { /* private fields */ }Implementations§
Source§impl GtagRegistry
impl GtagRegistry
pub fn new() -> Self
pub fn set_data_layer_name(&self, data_layer: impl Into<String>)
pub fn set_measurement_id(&self, measurement_id: Option<String>)
pub fn set_consent_defaults(&self, consent: Option<BTreeMap<String, String>>)
pub fn set_default_event_parameters(&self, params: BTreeMap<String, String>)
pub fn set_config(&self, config: BTreeMap<String, String>)
pub fn set_send_page_view(&self, value: Option<bool>)
pub fn snapshot(&self) -> GtagState
pub fn reset(&self)
Trait Implementations§
Source§impl Debug for GtagRegistry
impl Debug for GtagRegistry
Source§impl Default for GtagRegistry
impl Default for GtagRegistry
Source§fn default() -> GtagRegistry
fn default() -> GtagRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for GtagRegistry
impl RefUnwindSafe for GtagRegistry
impl Send for GtagRegistry
impl Sync for GtagRegistry
impl Unpin for GtagRegistry
impl UnwindSafe for GtagRegistry
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