pub struct Shipyard {
pub symbol: String,
pub ship_types: Vec<ShipyardShipTypesInner>,
pub transactions: Option<Vec<ShipyardTransaction>>,
pub ships: Option<Vec<ShipyardShip>>,
}Expand description
Fields§
§symbol: StringThe symbol of the shipyard. The symbol is the same as the waypoint where the shipyard is located.
ship_types: Vec<ShipyardShipTypesInner>The list of ship types available for purchase at this shipyard.
transactions: Option<Vec<ShipyardTransaction>>The list of recent transactions at this shipyard.
ships: Option<Vec<ShipyardShip>>The ships that are currently available for purchase at the shipyard.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shipyard
impl<'de> Deserialize<'de> for Shipyard
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
impl StructuralPartialEq for Shipyard
Auto Trait Implementations§
impl Freeze for Shipyard
impl RefUnwindSafe for Shipyard
impl Send for Shipyard
impl Sync for Shipyard
impl Unpin for Shipyard
impl UnwindSafe for Shipyard
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