pub struct GetDogmaEffectsEffectIdOk { /* private fields */ }Implementations§
Source§impl GetDogmaEffectsEffectIdOk
impl GetDogmaEffectsEffectIdOk
Sourcepub fn new(effect_id: i32) -> GetDogmaEffectsEffectIdOk
pub fn new(effect_id: i32) -> GetDogmaEffectsEffectIdOk
200 ok object
pub fn set_pre_expression(&mut self, pre_expression: i32)
pub fn with_pre_expression( self, pre_expression: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn pre_expression(&self) -> Option<&i32>
pub fn reset_pre_expression(&mut self)
pub fn set_duration_attribute_id(&mut self, duration_attribute_id: i32)
pub fn with_duration_attribute_id( self, duration_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn duration_attribute_id(&self) -> Option<&i32>
pub fn reset_duration_attribute_id(&mut self)
pub fn set_description(&mut self, description: String)
pub fn with_description(self, description: String) -> GetDogmaEffectsEffectIdOk
pub fn description(&self) -> Option<&String>
pub fn reset_description(&mut self)
pub fn set_post_expression(&mut self, post_expression: i32)
pub fn with_post_expression( self, post_expression: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn post_expression(&self) -> Option<&i32>
pub fn reset_post_expression(&mut self)
pub fn set_published(&mut self, published: bool)
pub fn with_published(self, published: bool) -> GetDogmaEffectsEffectIdOk
pub fn published(&self) -> Option<&bool>
pub fn reset_published(&mut self)
pub fn set_display_name(&mut self, display_name: String)
pub fn with_display_name( self, display_name: String, ) -> GetDogmaEffectsEffectIdOk
pub fn display_name(&self) -> Option<&String>
pub fn reset_display_name(&mut self)
pub fn set_icon_id(&mut self, icon_id: i32)
pub fn with_icon_id(self, icon_id: i32) -> GetDogmaEffectsEffectIdOk
pub fn icon_id(&self) -> Option<&i32>
pub fn reset_icon_id(&mut self)
pub fn set_modifiers(&mut self, modifiers: Vec<GetDogmaEffectsEffectIdModifier>)
pub fn with_modifiers( self, modifiers: Vec<GetDogmaEffectsEffectIdModifier>, ) -> GetDogmaEffectsEffectIdOk
pub fn modifiers(&self) -> Option<&Vec<GetDogmaEffectsEffectIdModifier>>
pub fn reset_modifiers(&mut self)
pub fn set_discharge_attribute_id(&mut self, discharge_attribute_id: i32)
pub fn with_discharge_attribute_id( self, discharge_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn discharge_attribute_id(&self) -> Option<&i32>
pub fn reset_discharge_attribute_id(&mut self)
pub fn set_range_chance(&mut self, range_chance: bool)
pub fn with_range_chance(self, range_chance: bool) -> GetDogmaEffectsEffectIdOk
pub fn range_chance(&self) -> Option<&bool>
pub fn reset_range_chance(&mut self)
pub fn set_tracking_speed_attribute_id( &mut self, tracking_speed_attribute_id: i32, )
pub fn with_tracking_speed_attribute_id( self, tracking_speed_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn tracking_speed_attribute_id(&self) -> Option<&i32>
pub fn reset_tracking_speed_attribute_id(&mut self)
pub fn set_range_attribute_id(&mut self, range_attribute_id: i32)
pub fn with_range_attribute_id( self, range_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn range_attribute_id(&self) -> Option<&i32>
pub fn reset_range_attribute_id(&mut self)
pub fn set_is_assistance(&mut self, is_assistance: bool)
pub fn with_is_assistance( self, is_assistance: bool, ) -> GetDogmaEffectsEffectIdOk
pub fn is_assistance(&self) -> Option<&bool>
pub fn reset_is_assistance(&mut self)
pub fn set_electronic_chance(&mut self, electronic_chance: bool)
pub fn with_electronic_chance( self, electronic_chance: bool, ) -> GetDogmaEffectsEffectIdOk
pub fn electronic_chance(&self) -> Option<&bool>
pub fn reset_electronic_chance(&mut self)
pub fn set_disallow_auto_repeat(&mut self, disallow_auto_repeat: bool)
pub fn with_disallow_auto_repeat( self, disallow_auto_repeat: bool, ) -> GetDogmaEffectsEffectIdOk
pub fn disallow_auto_repeat(&self) -> Option<&bool>
pub fn reset_disallow_auto_repeat(&mut self)
pub fn set_effect_category(&mut self, effect_category: i32)
pub fn with_effect_category( self, effect_category: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn effect_category(&self) -> Option<&i32>
pub fn reset_effect_category(&mut self)
pub fn set_falloff_attribute_id(&mut self, falloff_attribute_id: i32)
pub fn with_falloff_attribute_id( self, falloff_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk
pub fn falloff_attribute_id(&self) -> Option<&i32>
pub fn reset_falloff_attribute_id(&mut self)
pub fn set_name(&mut self, name: String)
pub fn with_name(self, name: String) -> GetDogmaEffectsEffectIdOk
pub fn name(&self) -> Option<&String>
pub fn reset_name(&mut self)
pub fn set_is_warp_safe(&mut self, is_warp_safe: bool)
pub fn with_is_warp_safe(self, is_warp_safe: bool) -> GetDogmaEffectsEffectIdOk
pub fn is_warp_safe(&self) -> Option<&bool>
pub fn reset_is_warp_safe(&mut self)
pub fn set_effect_id(&mut self, effect_id: i32)
pub fn with_effect_id(self, effect_id: i32) -> GetDogmaEffectsEffectIdOk
pub fn effect_id(&self) -> &i32
pub fn set_is_offensive(&mut self, is_offensive: bool)
pub fn with_is_offensive(self, is_offensive: bool) -> GetDogmaEffectsEffectIdOk
pub fn is_offensive(&self) -> Option<&bool>
pub fn reset_is_offensive(&mut self)
Trait Implementations§
Source§impl Debug for GetDogmaEffectsEffectIdOk
impl Debug for GetDogmaEffectsEffectIdOk
Source§impl<'de> Deserialize<'de> for GetDogmaEffectsEffectIdOk
impl<'de> Deserialize<'de> for GetDogmaEffectsEffectIdOk
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 GetDogmaEffectsEffectIdOk
impl RefUnwindSafe for GetDogmaEffectsEffectIdOk
impl Send for GetDogmaEffectsEffectIdOk
impl Sync for GetDogmaEffectsEffectIdOk
impl Unpin for GetDogmaEffectsEffectIdOk
impl UnwindSafe for GetDogmaEffectsEffectIdOk
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