pub enum ChatLogEvent {
AvatarLine {
name: String,
message: AvatarMessage,
},
SystemMessage {
message: SystemMessage,
},
OtherMessage {
message: String,
},
}Expand description
represents an event commemorated in the Second Life chat log
large variant warning for clippy is overridden since the Box get in the way of properly pattern matching
Variants§
AvatarLine
line about an avatar (or an object doing things indistinguishable from an avatar in the chat log)
SystemMessage
a message by the Second Life viewer or server itself
Fields
§
message: SystemMessagethe system message
OtherMessage
a message without a colon, most likely an unnamed object like a translator, spanker, etc.
Trait Implementations§
Source§impl Clone for ChatLogEvent
impl Clone for ChatLogEvent
Source§fn clone(&self) -> ChatLogEvent
fn clone(&self) -> ChatLogEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChatLogEvent
impl Debug for ChatLogEvent
Source§impl PartialEq for ChatLogEvent
impl PartialEq for ChatLogEvent
impl StructuralPartialEq for ChatLogEvent
Auto Trait Implementations§
impl Freeze for ChatLogEvent
impl RefUnwindSafe for ChatLogEvent
impl Send for ChatLogEvent
impl Sync for ChatLogEvent
impl Unpin for ChatLogEvent
impl UnwindSafe for ChatLogEvent
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