#[non_exhaustive]pub struct AppInstanceUserMembershipSummary {
pub type: Option<ChannelMembershipType>,
pub read_marker_timestamp: Option<DateTime>,
}Expand description
Summary of the membership details of an AppInstanceUser.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: Option<ChannelMembershipType>The type of ChannelMembership.
read_marker_timestamp: Option<DateTime>The time at which a message was last read.
Implementations§
source§impl AppInstanceUserMembershipSummary
impl AppInstanceUserMembershipSummary
sourcepub fn type(&self) -> Option<&ChannelMembershipType>
pub fn type(&self) -> Option<&ChannelMembershipType>
The type of ChannelMembership.
sourcepub fn read_marker_timestamp(&self) -> Option<&DateTime>
pub fn read_marker_timestamp(&self) -> Option<&DateTime>
The time at which a message was last read.
source§impl AppInstanceUserMembershipSummary
impl AppInstanceUserMembershipSummary
sourcepub fn builder() -> AppInstanceUserMembershipSummaryBuilder
pub fn builder() -> AppInstanceUserMembershipSummaryBuilder
Creates a new builder-style object to manufacture AppInstanceUserMembershipSummary.
Trait Implementations§
source§impl Clone for AppInstanceUserMembershipSummary
impl Clone for AppInstanceUserMembershipSummary
source§fn clone(&self) -> AppInstanceUserMembershipSummary
fn clone(&self) -> AppInstanceUserMembershipSummary
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 PartialEq for AppInstanceUserMembershipSummary
impl PartialEq for AppInstanceUserMembershipSummary
source§fn eq(&self, other: &AppInstanceUserMembershipSummary) -> bool
fn eq(&self, other: &AppInstanceUserMembershipSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AppInstanceUserMembershipSummary
Auto Trait Implementations§
impl RefUnwindSafe for AppInstanceUserMembershipSummary
impl Send for AppInstanceUserMembershipSummary
impl Sync for AppInstanceUserMembershipSummary
impl Unpin for AppInstanceUserMembershipSummary
impl UnwindSafe for AppInstanceUserMembershipSummary
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.