pub struct MemberSignals {
pub npub: String,
pub joined_at_ms: u64,
pub invite_label: Option<String>,
pub messages: u64,
pub first_secs: u64,
pub last_secs: u64,
pub texts: Vec<String>,
pub is_owner: bool,
pub is_admin: bool,
pub is_me: bool,
}Expand description
What the caller knows about one member before any judgement is applied.
Fields§
§npub: String§joined_at_ms: u64Guestbook join, ms. 0 = unknown (predates the store, or the Join was lost).
invite_label: Option<String>Invite label they joined through, when the Guestbook carried the attribution.
messages: u64§first_secs: u64First and last posting times, seconds. 0 when they have never posted.
last_secs: u64§texts: Vec<String>Their texts from the recent window only — the cohort evidence.
is_owner: bool§is_admin: bool§is_me: boolTrait Implementations§
Source§impl Clone for MemberSignals
impl Clone for MemberSignals
Source§impl Debug for MemberSignals
impl Debug for MemberSignals
Auto Trait Implementations§
impl Freeze for MemberSignals
impl RefUnwindSafe for MemberSignals
impl Send for MemberSignals
impl Sync for MemberSignals
impl Unpin for MemberSignals
impl UnsafeUnpin for MemberSignals
impl UnwindSafe for MemberSignals
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