pub struct MemberAssessment {Show 14 fields
pub npub: String,
pub verdict: Verdict,
pub score: u32,
pub reasons: Vec<String>,
pub joined_at_ms: u64,
pub invite_label: Option<String>,
pub messages: u64,
pub distinct: u64,
pub cohort: u64,
pub tenure_secs: u64,
pub last_secs: u64,
pub is_owner: bool,
pub is_admin: bool,
pub is_me: bool,
}Expand description
One member’s verdict with the evidence that produced it.
Fields§
§npub: String§verdict: Verdict§score: u32Ordering weight only — the verdict is decided by rules, not by a threshold.
reasons: Vec<String>§joined_at_ms: u64§invite_label: Option<String>§messages: u64§distinct: u64Distinct message shapes seen in the recent window.
cohort: u64Other members who posted a shape this member also posted.
tenure_secs: u64Seconds between their first trace (join or first post) and now.
last_secs: u64§is_owner: bool§is_admin: bool§is_me: boolTrait Implementations§
Source§impl Clone for MemberAssessment
impl Clone for MemberAssessment
Source§impl Debug for MemberAssessment
impl Debug for MemberAssessment
Auto Trait Implementations§
impl Freeze for MemberAssessment
impl RefUnwindSafe for MemberAssessment
impl Send for MemberAssessment
impl Sync for MemberAssessment
impl Unpin for MemberAssessment
impl UnsafeUnpin for MemberAssessment
impl UnwindSafe for MemberAssessment
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