pub struct NewCommanderEvent {
pub name: String,
pub fid: String,
pub package: String,
}
Expand description
Fired when the player starts as a new commander.
Fields§
§name: String
The name of the newly created commander.
fid: String
The Frontier ID.
package: String
The name of the package the new commander will deploy with.
Trait Implementations§
Source§impl Clone for NewCommanderEvent
impl Clone for NewCommanderEvent
Source§fn clone(&self) -> NewCommanderEvent
fn clone(&self) -> NewCommanderEvent
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 NewCommanderEvent
impl Debug for NewCommanderEvent
Source§impl<'de> Deserialize<'de> for NewCommanderEvent
impl<'de> Deserialize<'de> for NewCommanderEvent
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 NewCommanderEvent
impl PartialEq for NewCommanderEvent
Source§impl Serialize for NewCommanderEvent
impl Serialize for NewCommanderEvent
impl StructuralPartialEq for NewCommanderEvent
Auto Trait Implementations§
impl Freeze for NewCommanderEvent
impl RefUnwindSafe for NewCommanderEvent
impl Send for NewCommanderEvent
impl Sync for NewCommanderEvent
impl Unpin for NewCommanderEvent
impl UnwindSafe for NewCommanderEvent
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