#[non_exhaustive]pub struct GoogleAnalyticsMetadataBuilder { /* private fields */ }
Expand description
A builder for GoogleAnalyticsMetadata
.
Implementations§
source§impl GoogleAnalyticsMetadataBuilder
impl GoogleAnalyticsMetadataBuilder
sourcepub fn o_auth_scopes(self, input: impl Into<String>) -> Self
pub fn o_auth_scopes(self, input: impl Into<String>) -> Self
Appends an item to o_auth_scopes
.
To override the contents of this collection use set_o_auth_scopes
.
The desired authorization scope for the Google Analytics account.
sourcepub fn set_o_auth_scopes(self, input: Option<Vec<String>>) -> Self
pub fn set_o_auth_scopes(self, input: Option<Vec<String>>) -> Self
The desired authorization scope for the Google Analytics account.
sourcepub fn get_o_auth_scopes(&self) -> &Option<Vec<String>>
pub fn get_o_auth_scopes(&self) -> &Option<Vec<String>>
The desired authorization scope for the Google Analytics account.
sourcepub fn build(self) -> GoogleAnalyticsMetadata
pub fn build(self) -> GoogleAnalyticsMetadata
Consumes the builder and constructs a GoogleAnalyticsMetadata
.
Trait Implementations§
source§impl Clone for GoogleAnalyticsMetadataBuilder
impl Clone for GoogleAnalyticsMetadataBuilder
source§fn clone(&self) -> GoogleAnalyticsMetadataBuilder
fn clone(&self) -> GoogleAnalyticsMetadataBuilder
Returns a copy 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 Default for GoogleAnalyticsMetadataBuilder
impl Default for GoogleAnalyticsMetadataBuilder
source§fn default() -> GoogleAnalyticsMetadataBuilder
fn default() -> GoogleAnalyticsMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GoogleAnalyticsMetadataBuilder
impl PartialEq for GoogleAnalyticsMetadataBuilder
source§fn eq(&self, other: &GoogleAnalyticsMetadataBuilder) -> bool
fn eq(&self, other: &GoogleAnalyticsMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GoogleAnalyticsMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GoogleAnalyticsMetadataBuilder
impl Send for GoogleAnalyticsMetadataBuilder
impl Sync for GoogleAnalyticsMetadataBuilder
impl Unpin for GoogleAnalyticsMetadataBuilder
impl UnwindSafe for GoogleAnalyticsMetadataBuilder
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> 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>
Creates a shared type from an unshared type.