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