pub struct MemberFacts {
pub joined_at_ms: u64,
pub invite_label: Option<String>,
pub messages: u64,
pub distinct: u64,
pub tenure_secs: u64,
pub last_secs: u64,
pub is_owner: bool,
pub is_admin: bool,
pub is_me: bool,
}Expand description
What the moderation console needs about one member beyond the verdict: the display facts a moderator reads before acting.
Fields§
§joined_at_ms: u64§invite_label: Option<String>§messages: u64§distinct: u64§tenure_secs: u64§last_secs: u64§is_owner: bool§is_admin: bool§is_me: boolTrait Implementations§
Source§impl Clone for MemberFacts
impl Clone for MemberFacts
Source§impl Debug for MemberFacts
impl Debug for MemberFacts
Auto Trait Implementations§
impl Freeze for MemberFacts
impl RefUnwindSafe for MemberFacts
impl Send for MemberFacts
impl Sync for MemberFacts
impl Unpin for MemberFacts
impl UnsafeUnpin for MemberFacts
impl UnwindSafe for MemberFacts
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more