pub struct GetCharactersCharacterIdFittings200Ok { /* private fields */ }Implementations§
Source§impl GetCharactersCharacterIdFittings200Ok
impl GetCharactersCharacterIdFittings200Ok
Sourcepub fn new(
fitting_id: i32,
ship_type_id: i32,
name: String,
description: String,
items: Vec<GetCharactersCharacterIdFittingsItem>,
) -> GetCharactersCharacterIdFittings200Ok
pub fn new( fitting_id: i32, ship_type_id: i32, name: String, description: String, items: Vec<GetCharactersCharacterIdFittingsItem>, ) -> GetCharactersCharacterIdFittings200Ok
200 ok object
pub fn set_fitting_id(&mut self, fitting_id: i32)
pub fn with_fitting_id( self, fitting_id: i32, ) -> GetCharactersCharacterIdFittings200Ok
pub fn fitting_id(&self) -> &i32
pub fn set_ship_type_id(&mut self, ship_type_id: i32)
pub fn with_ship_type_id( self, ship_type_id: i32, ) -> GetCharactersCharacterIdFittings200Ok
pub fn ship_type_id(&self) -> &i32
pub fn set_name(&mut self, name: String)
pub fn with_name(self, name: String) -> GetCharactersCharacterIdFittings200Ok
pub fn name(&self) -> &String
pub fn set_description(&mut self, description: String)
pub fn with_description( self, description: String, ) -> GetCharactersCharacterIdFittings200Ok
pub fn description(&self) -> &String
pub fn set_items(&mut self, items: Vec<GetCharactersCharacterIdFittingsItem>)
pub fn with_items( self, items: Vec<GetCharactersCharacterIdFittingsItem>, ) -> GetCharactersCharacterIdFittings200Ok
pub fn items(&self) -> &Vec<GetCharactersCharacterIdFittingsItem>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetCharactersCharacterIdFittings200Ok
impl<'de> Deserialize<'de> for GetCharactersCharacterIdFittings200Ok
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 GetCharactersCharacterIdFittings200Ok
impl RefUnwindSafe for GetCharactersCharacterIdFittings200Ok
impl Send for GetCharactersCharacterIdFittings200Ok
impl Sync for GetCharactersCharacterIdFittings200Ok
impl Unpin for GetCharactersCharacterIdFittings200Ok
impl UnwindSafe for GetCharactersCharacterIdFittings200Ok
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more