pub struct ChatSay {
pub id: Player,
pub text: BString,
}Expand description
A player has said something locally.
Fields§
§id: Player§text: BStringTrait Implementations§
Source§impl<'de> DeserializeV5<'de> for ChatSay
impl<'de> DeserializeV5<'de> for ChatSay
fn deserialize(de: &mut AirmashDeserializerV5<'de>) -> Result<Self>
Source§impl From<ChatSay> for ServerPacket
impl From<ChatSay> for ServerPacket
Source§impl SerializeV5 for ChatSay
impl SerializeV5 for ChatSay
fn serialize<'ser>(&self, ser: &mut AirmashSerializerV5<'ser>) -> Result
Auto Trait Implementations§
impl Freeze for ChatSay
impl RefUnwindSafe for ChatSay
impl Send for ChatSay
impl Sync for ChatSay
impl Unpin for ChatSay
impl UnwindSafe for ChatSay
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