pub struct PlayServerChatMessageSpec {
pub message: Chat,
pub position: ChatPosition,
pub sender: UUID4,
}
Fields§
§message: Chat
§position: ChatPosition
§sender: UUID4
Trait Implementations§
Source§impl Clone for PlayServerChatMessageSpec
impl Clone for PlayServerChatMessageSpec
Source§fn clone(&self) -> PlayServerChatMessageSpec
fn clone(&self) -> PlayServerChatMessageSpec
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 PlayServerChatMessageSpec
impl Debug for PlayServerChatMessageSpec
Source§impl Deserialize for PlayServerChatMessageSpec
impl Deserialize for PlayServerChatMessageSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(Chat, ChatPosition, UUID4)> for PlayServerChatMessageSpec
impl From<(Chat, ChatPosition, UUID4)> for PlayServerChatMessageSpec
Source§impl From<PlayServerChatMessageSpec> for (Chat, ChatPosition, UUID4)
impl From<PlayServerChatMessageSpec> for (Chat, ChatPosition, UUID4)
Source§fn from(other: PlayServerChatMessageSpec) -> Self
fn from(other: PlayServerChatMessageSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for PlayServerChatMessageSpec
impl Serialize for PlayServerChatMessageSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayServerChatMessageSpec
Auto Trait Implementations§
impl Freeze for PlayServerChatMessageSpec
impl RefUnwindSafe for PlayServerChatMessageSpec
impl Send for PlayServerChatMessageSpec
impl Sync for PlayServerChatMessageSpec
impl Unpin for PlayServerChatMessageSpec
impl UnwindSafe for PlayServerChatMessageSpec
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