#[non_exhaustive]pub struct SnapshotUserConfigurationBuilder { /* private fields */ }Expand description
A builder for SnapshotUserConfiguration.
Implementations§
source§impl SnapshotUserConfigurationBuilder
impl SnapshotUserConfigurationBuilder
sourcepub fn anonymous_users(self, input: SnapshotAnonymousUser) -> Self
pub fn anonymous_users(self, input: SnapshotAnonymousUser) -> Self
Appends an item to anonymous_users.
To override the contents of this collection use set_anonymous_users.
An array of records that describe the anonymous users that the dashboard snapshot is generated for.
sourcepub fn set_anonymous_users(
self,
input: Option<Vec<SnapshotAnonymousUser>>
) -> Self
pub fn set_anonymous_users( self, input: Option<Vec<SnapshotAnonymousUser>> ) -> Self
An array of records that describe the anonymous users that the dashboard snapshot is generated for.
sourcepub fn get_anonymous_users(&self) -> &Option<Vec<SnapshotAnonymousUser>>
pub fn get_anonymous_users(&self) -> &Option<Vec<SnapshotAnonymousUser>>
An array of records that describe the anonymous users that the dashboard snapshot is generated for.
sourcepub fn build(self) -> SnapshotUserConfiguration
pub fn build(self) -> SnapshotUserConfiguration
Consumes the builder and constructs a SnapshotUserConfiguration.
Trait Implementations§
source§impl Clone for SnapshotUserConfigurationBuilder
impl Clone for SnapshotUserConfigurationBuilder
source§fn clone(&self) -> SnapshotUserConfigurationBuilder
fn clone(&self) -> SnapshotUserConfigurationBuilder
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 SnapshotUserConfigurationBuilder
impl Default for SnapshotUserConfigurationBuilder
source§fn default() -> SnapshotUserConfigurationBuilder
fn default() -> SnapshotUserConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SnapshotUserConfigurationBuilder
impl PartialEq for SnapshotUserConfigurationBuilder
source§fn eq(&self, other: &SnapshotUserConfigurationBuilder) -> bool
fn eq(&self, other: &SnapshotUserConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SnapshotUserConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotUserConfigurationBuilder
impl Send for SnapshotUserConfigurationBuilder
impl Sync for SnapshotUserConfigurationBuilder
impl Unpin for SnapshotUserConfigurationBuilder
impl UnwindSafe for SnapshotUserConfigurationBuilder
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.