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