#[non_exhaustive]pub enum OutboundChat {
Guild(String),
Group(String),
Shout(String),
Auction(String),
Ooc(String),
Tell {
recipient: String,
message: String,
},
Say(String),
Raid(String),
}Expand description
A chat message the logged-in character can send through the zone server. Every variant uses Common Tongue; tells carry their recipient explicitly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Guild(String)
Send text to guild chat.
Group(String)
Send text to group chat.
Shout(String)
Send text to zone-wide shout chat.
Auction(String)
Send text to zone-wide auction chat.
Ooc(String)
Send text to zone-wide out-of-character chat.
Tell
Send a direct tell.
Say(String)
Send text to nearby characters.
Raid(String)
Send text to raid chat.
Trait Implementations§
Source§impl Clone for OutboundChat
impl Clone for OutboundChat
Source§fn clone(&self) -> OutboundChat
fn clone(&self) -> OutboundChat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutboundChat
impl Debug for OutboundChat
impl Eq for OutboundChat
Source§impl PartialEq for OutboundChat
impl PartialEq for OutboundChat
impl StructuralPartialEq for OutboundChat
Auto Trait Implementations§
impl Freeze for OutboundChat
impl RefUnwindSafe for OutboundChat
impl Send for OutboundChat
impl Sync for OutboundChat
impl Unpin for OutboundChat
impl UnsafeUnpin for OutboundChat
impl UnwindSafe for OutboundChat
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