pub struct NewFitting {
pub description: String,
pub items: Vec<FittingItem>,
pub name: String,
pub ship_type_id: i64,
}Expand description
The body of a request to save a new fitting.
Fields§
§description: StringDescription 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 Clone for NewFitting
impl Clone for NewFitting
Source§impl Debug for NewFitting
impl Debug for NewFitting
Auto Trait Implementations§
impl Freeze for NewFitting
impl RefUnwindSafe for NewFitting
impl Send for NewFitting
impl Sync for NewFitting
impl Unpin for NewFitting
impl UnsafeUnpin for NewFitting
impl UnwindSafe for NewFitting
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