pub struct CommanderEvent {
pub fid: String,
pub name: String,
}
Expand description
Fired as part of the startup process of the game.
Fields§
§fid: String
The Frontier id associated with the player.
name: String
The commander name of the player.
Trait Implementations§
Source§impl Clone for CommanderEvent
impl Clone for CommanderEvent
Source§fn clone(&self) -> CommanderEvent
fn clone(&self) -> CommanderEvent
Returns a copy 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 CommanderEvent
impl Debug for CommanderEvent
Source§impl<'de> Deserialize<'de> for CommanderEvent
impl<'de> Deserialize<'de> for CommanderEvent
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
Source§impl PartialEq for CommanderEvent
impl PartialEq for CommanderEvent
Source§impl Serialize for CommanderEvent
impl Serialize for CommanderEvent
impl StructuralPartialEq for CommanderEvent
Auto Trait Implementations§
impl Freeze for CommanderEvent
impl RefUnwindSafe for CommanderEvent
impl Send for CommanderEvent
impl Sync for CommanderEvent
impl Unpin for CommanderEvent
impl UnwindSafe for CommanderEvent
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