pub struct Fitting {
pub description: String,
pub fitting_id: i64,
pub items: Vec<FittingItem>,
pub name: String,
pub ship_type_id: i64,
}Expand description
A saved ship fitting.
Fields§
§description: StringDescription of the fitting.
fitting_id: i64ID of the fitting.
items: Vec<FittingItem>Items of the fitting.
name: StringName of the fitting.
ship_type_id: i64Type ID of the ship.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fitting
impl<'de> Deserialize<'de> for Fitting
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
Auto Trait Implementations§
impl Freeze for Fitting
impl RefUnwindSafe for Fitting
impl Send for Fitting
impl Sync for Fitting
impl Unpin for Fitting
impl UnsafeUnpin for Fitting
impl UnwindSafe for Fitting
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