pub struct BuySuitEvent {
pub name: Suit,
pub name_localized: String,
pub price: u64,
pub suit_id: u64,
pub suit_mods: Vec<SuitMod>,
}
Expand description
Fired when the player buys a new Odyssey suit.
Fields§
§name: Suit
The suit that the player bought.
name_localized: String
The localized name of the suit that was bought.
price: u64
The number of credits the player paid.
suit_id: u64
The id of the newly bought suit.
suit_mods: Vec<SuitMod>
List of (pre-installed) suit mods.
Trait Implementations§
Source§impl Clone for BuySuitEvent
impl Clone for BuySuitEvent
Source§fn clone(&self) -> BuySuitEvent
fn clone(&self) -> BuySuitEvent
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 BuySuitEvent
impl Debug for BuySuitEvent
Source§impl<'de> Deserialize<'de> for BuySuitEvent
impl<'de> Deserialize<'de> for BuySuitEvent
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 BuySuitEvent
impl PartialEq for BuySuitEvent
Source§impl Serialize for BuySuitEvent
impl Serialize for BuySuitEvent
impl StructuralPartialEq for BuySuitEvent
Auto Trait Implementations§
impl Freeze for BuySuitEvent
impl RefUnwindSafe for BuySuitEvent
impl Send for BuySuitEvent
impl Sync for BuySuitEvent
impl Unpin for BuySuitEvent
impl UnwindSafe for BuySuitEvent
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