pub struct MessageSignal {
pub id: MessageId,
pub author: SubjectId,
pub channel: Hash32,
pub at_ms: u64,
pub text: String,
pub mentions: u32,
}Expand description
One message in the evaluation corpus.
Fields§
§id: MessageId§channel: Hash32§at_ms: u64Inner ms timestamp — the corpus orders and clamps on this.
text: String§mentions: u32p-tags: the only thing that counts as a mention (inline @name is
renderer-dependent).
Trait Implementations§
Source§impl Clone for MessageSignal
impl Clone for MessageSignal
Auto Trait Implementations§
impl Freeze for MessageSignal
impl RefUnwindSafe for MessageSignal
impl Send for MessageSignal
impl Sync for MessageSignal
impl Unpin for MessageSignal
impl UnsafeUnpin for MessageSignal
impl UnwindSafe for MessageSignal
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