pub struct ChatLine {
pub platform: Platform,
pub channel: String,
pub user: String,
pub color: Option<String>,
pub content: String,
}Expand description
a normalized chat line, ready for a channel buffer.
Fields§
§platform: Platform§channel: String§user: String§color: Option<String>§content: StringTrait Implementations§
impl StructuralPartialEq for ChatLine
Auto Trait Implementations§
impl Freeze for ChatLine
impl RefUnwindSafe for ChatLine
impl Send for ChatLine
impl Sync for ChatLine
impl Unpin for ChatLine
impl UnsafeUnpin for ChatLine
impl UnwindSafe for ChatLine
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