#[non_exhaustive]pub struct AppInstanceUserMembershipSummaryBuilder { /* private fields */ }
Expand description
A builder for AppInstanceUserMembershipSummary
.
Implementations§
source§impl AppInstanceUserMembershipSummaryBuilder
impl AppInstanceUserMembershipSummaryBuilder
sourcepub fn type(self, input: ChannelMembershipType) -> Self
pub fn type(self, input: ChannelMembershipType) -> Self
The type of ChannelMembership
.
sourcepub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
pub fn set_type(self, input: Option<ChannelMembershipType>) -> Self
The type of ChannelMembership
.
sourcepub fn get_type(&self) -> &Option<ChannelMembershipType>
pub fn get_type(&self) -> &Option<ChannelMembershipType>
The type of ChannelMembership
.
sourcepub fn read_marker_timestamp(self, input: DateTime) -> Self
pub fn read_marker_timestamp(self, input: DateTime) -> Self
The time at which a message was last read.
sourcepub fn set_read_marker_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_read_marker_timestamp(self, input: Option<DateTime>) -> Self
The time at which a message was last read.
sourcepub fn get_read_marker_timestamp(&self) -> &Option<DateTime>
pub fn get_read_marker_timestamp(&self) -> &Option<DateTime>
The time at which a message was last read.
sourcepub fn build(self) -> AppInstanceUserMembershipSummary
pub fn build(self) -> AppInstanceUserMembershipSummary
Consumes the builder and constructs a AppInstanceUserMembershipSummary
.
Trait Implementations§
source§impl Clone for AppInstanceUserMembershipSummaryBuilder
impl Clone for AppInstanceUserMembershipSummaryBuilder
source§fn clone(&self) -> AppInstanceUserMembershipSummaryBuilder
fn clone(&self) -> AppInstanceUserMembershipSummaryBuilder
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 AppInstanceUserMembershipSummaryBuilder
impl Default for AppInstanceUserMembershipSummaryBuilder
source§fn default() -> AppInstanceUserMembershipSummaryBuilder
fn default() -> AppInstanceUserMembershipSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AppInstanceUserMembershipSummaryBuilder
impl PartialEq for AppInstanceUserMembershipSummaryBuilder
source§fn eq(&self, other: &AppInstanceUserMembershipSummaryBuilder) -> bool
fn eq(&self, other: &AppInstanceUserMembershipSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppInstanceUserMembershipSummaryBuilder
Auto Trait Implementations§
impl Freeze for AppInstanceUserMembershipSummaryBuilder
impl RefUnwindSafe for AppInstanceUserMembershipSummaryBuilder
impl Send for AppInstanceUserMembershipSummaryBuilder
impl Sync for AppInstanceUserMembershipSummaryBuilder
impl Unpin for AppInstanceUserMembershipSummaryBuilder
impl UnwindSafe for AppInstanceUserMembershipSummaryBuilder
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>
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 moreCreates a shared type from an unshared type.