pub struct SquadronDemotionEvent {
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 SquadronDemotionEvent
impl Clone for SquadronDemotionEvent
Source§fn clone(&self) -> SquadronDemotionEvent
fn clone(&self) -> SquadronDemotionEvent
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 SquadronDemotionEvent
impl Debug for SquadronDemotionEvent
Source§impl<'de> Deserialize<'de> for SquadronDemotionEvent
impl<'de> Deserialize<'de> for SquadronDemotionEvent
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 SquadronDemotionEvent
impl PartialEq for SquadronDemotionEvent
Source§impl Serialize for SquadronDemotionEvent
impl Serialize for SquadronDemotionEvent
impl StructuralPartialEq for SquadronDemotionEvent
Auto Trait Implementations§
impl Freeze for SquadronDemotionEvent
impl RefUnwindSafe for SquadronDemotionEvent
impl Send for SquadronDemotionEvent
impl Sync for SquadronDemotionEvent
impl Unpin for SquadronDemotionEvent
impl UnwindSafe for SquadronDemotionEvent
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