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