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