pub struct GroupKey<'a> {
pub key: u64,
pub nick: &'a str,
}Expand description
What makes two adjacent messages “the same speaker, still”.
Equality is on both fields: same person and same displayed name.
Fields§
§key: u640 when the speaker’s identity is unknown — then the nick carries the whole decision, which is the best available answer.
nick: &'a strThe gutter text as rendered.
Trait Implementations§
impl<'a> Copy for GroupKey<'a>
impl<'a> Eq for GroupKey<'a>
impl<'a> StructuralPartialEq for GroupKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for GroupKey<'a>
impl<'a> RefUnwindSafe for GroupKey<'a>
impl<'a> Send for GroupKey<'a>
impl<'a> Sync for GroupKey<'a>
impl<'a> Unpin for GroupKey<'a>
impl<'a> UnsafeUnpin for GroupKey<'a>
impl<'a> UnwindSafe for GroupKey<'a>
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