pub struct GetUniverseStructuresStructureIdOk { /* private fields */ }Implementations§
Source§impl GetUniverseStructuresStructureIdOk
impl GetUniverseStructuresStructureIdOk
Sourcepub fn new(
owner_id: i32,
name: String,
solar_system_id: i32,
) -> GetUniverseStructuresStructureIdOk
pub fn new( owner_id: i32, name: String, solar_system_id: i32, ) -> GetUniverseStructuresStructureIdOk
200 ok object
pub fn set_owner_id(&mut self, owner_id: i32)
pub fn with_owner_id(self, owner_id: i32) -> GetUniverseStructuresStructureIdOk
pub fn owner_id(&self) -> &i32
pub fn set_type_id(&mut self, type_id: i32)
pub fn with_type_id(self, type_id: i32) -> GetUniverseStructuresStructureIdOk
pub fn type_id(&self) -> Option<&i32>
pub fn reset_type_id(&mut self)
pub fn set_name(&mut self, name: String)
pub fn with_name(self, name: String) -> GetUniverseStructuresStructureIdOk
pub fn name(&self) -> &String
pub fn set_solar_system_id(&mut self, solar_system_id: i32)
pub fn with_solar_system_id( self, solar_system_id: i32, ) -> GetUniverseStructuresStructureIdOk
pub fn solar_system_id(&self) -> &i32
pub fn set_position( &mut self, position: GetUniverseStructuresStructureIdPosition, )
pub fn with_position( self, position: GetUniverseStructuresStructureIdPosition, ) -> GetUniverseStructuresStructureIdOk
pub fn position(&self) -> Option<&GetUniverseStructuresStructureIdPosition>
pub fn reset_position(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetUniverseStructuresStructureIdOk
impl<'de> Deserialize<'de> for GetUniverseStructuresStructureIdOk
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 GetUniverseStructuresStructureIdOk
impl RefUnwindSafe for GetUniverseStructuresStructureIdOk
impl Send for GetUniverseStructuresStructureIdOk
impl Sync for GetUniverseStructuresStructureIdOk
impl Unpin for GetUniverseStructuresStructureIdOk
impl UnwindSafe for GetUniverseStructuresStructureIdOk
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