pub struct GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails { /* private fields */ }Implementations§
Source§impl GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
Sourcepub fn new(
heads: Vec<GetCharactersCharacterIdPlanetsPlanetIdHead>,
) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn new( heads: Vec<GetCharactersCharacterIdPlanetsPlanetIdHead>, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
extractor_details object
pub fn set_head_radius(&mut self, head_radius: f32)
pub fn with_head_radius( self, head_radius: f32, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn head_radius(&self) -> Option<&f32>
pub fn reset_head_radius(&mut self)
pub fn set_qty_per_cycle(&mut self, qty_per_cycle: i32)
pub fn with_qty_per_cycle( self, qty_per_cycle: i32, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn qty_per_cycle(&self) -> Option<&i32>
pub fn reset_qty_per_cycle(&mut self)
pub fn set_cycle_time(&mut self, cycle_time: i32)
pub fn with_cycle_time( self, cycle_time: i32, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn cycle_time(&self) -> Option<&i32>
pub fn reset_cycle_time(&mut self)
pub fn set_heads( &mut self, heads: Vec<GetCharactersCharacterIdPlanetsPlanetIdHead>, )
pub fn with_heads( self, heads: Vec<GetCharactersCharacterIdPlanetsPlanetIdHead>, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn heads(&self) -> &Vec<GetCharactersCharacterIdPlanetsPlanetIdHead>
pub fn set_product_type_id(&mut self, product_type_id: i32)
pub fn with_product_type_id( self, product_type_id: i32, ) -> GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
pub fn product_type_id(&self) -> Option<&i32>
pub fn reset_product_type_id(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl<'de> Deserialize<'de> for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
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 GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl RefUnwindSafe for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl Send for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl Sync for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl Unpin for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
impl UnwindSafe for GetCharactersCharacterIdPlanetsPlanetIdExtractorDetails
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