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