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