pub struct SquadronStartupEvent {
pub squadron_name: String,
pub current_rank: u8,
}
Fields§
§squadron_name: String
§current_rank: u8
Trait Implementations§
Source§impl Clone for SquadronStartupEvent
impl Clone for SquadronStartupEvent
Source§fn clone(&self) -> SquadronStartupEvent
fn clone(&self) -> SquadronStartupEvent
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 SquadronStartupEvent
impl Debug for SquadronStartupEvent
Source§impl<'de> Deserialize<'de> for SquadronStartupEvent
impl<'de> Deserialize<'de> for SquadronStartupEvent
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 SquadronStartupEvent
impl PartialEq for SquadronStartupEvent
Source§impl Serialize for SquadronStartupEvent
impl Serialize for SquadronStartupEvent
impl StructuralPartialEq for SquadronStartupEvent
Auto Trait Implementations§
impl Freeze for SquadronStartupEvent
impl RefUnwindSafe for SquadronStartupEvent
impl Send for SquadronStartupEvent
impl Sync for SquadronStartupEvent
impl Unpin for SquadronStartupEvent
impl UnwindSafe for SquadronStartupEvent
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