pub struct Note {
pub kind: NoteKind,
pub what: String,
}Expand description
a non-chat event shown inline in the chat flow. what is the human
headline (“resubscribed for 14 months”, “raiding with 500 viewers”) — the
message’s user is the actor and its text carries any attached user
message (a resub message, a redemption input), which renders like chat.
Fields§
§kind: NoteKind§what: StringTrait Implementations§
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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