pub struct GameStateCommand {
pub event: GameStateCommandEvent,
}Expand description
A command to update global state, originating from an integration or WS client.
Fields§
§event: GameStateCommandEventTrait Implementations§
Source§impl Clone for GameStateCommand
impl Clone for GameStateCommand
Source§fn clone(&self) -> GameStateCommand
fn clone(&self) -> GameStateCommand
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 GameStateCommand
impl Debug for GameStateCommand
Source§impl<'de> Deserialize<'de> for GameStateCommand
impl<'de> Deserialize<'de> for GameStateCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GameStateCommand
impl RefUnwindSafe for GameStateCommand
impl Send for GameStateCommand
impl Sync for GameStateCommand
impl Unpin for GameStateCommand
impl UnsafeUnpin for GameStateCommand
impl UnwindSafe for GameStateCommand
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