GetDogmaEffectsEffectIdOk

Struct GetDogmaEffectsEffectIdOk 

Source
pub struct GetDogmaEffectsEffectIdOk { /* private fields */ }

Implementations§

Source§

impl GetDogmaEffectsEffectIdOk

Source

pub fn new(effect_id: i32) -> GetDogmaEffectsEffectIdOk

200 ok object

Source

pub fn set_pre_expression(&mut self, pre_expression: i32)

Source

pub fn with_pre_expression( self, pre_expression: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn pre_expression(&self) -> Option<&i32>

Source

pub fn reset_pre_expression(&mut self)

Source

pub fn set_duration_attribute_id(&mut self, duration_attribute_id: i32)

Source

pub fn with_duration_attribute_id( self, duration_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn duration_attribute_id(&self) -> Option<&i32>

Source

pub fn reset_duration_attribute_id(&mut self)

Source

pub fn set_description(&mut self, description: String)

Source

pub fn with_description(self, description: String) -> GetDogmaEffectsEffectIdOk

Source

pub fn description(&self) -> Option<&String>

Source

pub fn reset_description(&mut self)

Source

pub fn set_post_expression(&mut self, post_expression: i32)

Source

pub fn with_post_expression( self, post_expression: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn post_expression(&self) -> Option<&i32>

Source

pub fn reset_post_expression(&mut self)

Source

pub fn set_published(&mut self, published: bool)

Source

pub fn with_published(self, published: bool) -> GetDogmaEffectsEffectIdOk

Source

pub fn published(&self) -> Option<&bool>

Source

pub fn reset_published(&mut self)

Source

pub fn set_display_name(&mut self, display_name: String)

Source

pub fn with_display_name( self, display_name: String, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn display_name(&self) -> Option<&String>

Source

pub fn reset_display_name(&mut self)

Source

pub fn set_icon_id(&mut self, icon_id: i32)

Source

pub fn with_icon_id(self, icon_id: i32) -> GetDogmaEffectsEffectIdOk

Source

pub fn icon_id(&self) -> Option<&i32>

Source

pub fn reset_icon_id(&mut self)

Source

pub fn set_modifiers(&mut self, modifiers: Vec<GetDogmaEffectsEffectIdModifier>)

Source

pub fn with_modifiers( self, modifiers: Vec<GetDogmaEffectsEffectIdModifier>, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn modifiers(&self) -> Option<&Vec<GetDogmaEffectsEffectIdModifier>>

Source

pub fn reset_modifiers(&mut self)

Source

pub fn set_discharge_attribute_id(&mut self, discharge_attribute_id: i32)

Source

pub fn with_discharge_attribute_id( self, discharge_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn discharge_attribute_id(&self) -> Option<&i32>

Source

pub fn reset_discharge_attribute_id(&mut self)

Source

pub fn set_range_chance(&mut self, range_chance: bool)

Source

pub fn with_range_chance(self, range_chance: bool) -> GetDogmaEffectsEffectIdOk

Source

pub fn range_chance(&self) -> Option<&bool>

Source

pub fn reset_range_chance(&mut self)

Source

pub fn set_tracking_speed_attribute_id( &mut self, tracking_speed_attribute_id: i32, )

Source

pub fn with_tracking_speed_attribute_id( self, tracking_speed_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn tracking_speed_attribute_id(&self) -> Option<&i32>

Source

pub fn reset_tracking_speed_attribute_id(&mut self)

Source

pub fn set_range_attribute_id(&mut self, range_attribute_id: i32)

Source

pub fn with_range_attribute_id( self, range_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn range_attribute_id(&self) -> Option<&i32>

Source

pub fn reset_range_attribute_id(&mut self)

Source

pub fn set_is_assistance(&mut self, is_assistance: bool)

Source

pub fn with_is_assistance( self, is_assistance: bool, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn is_assistance(&self) -> Option<&bool>

Source

pub fn reset_is_assistance(&mut self)

Source

pub fn set_electronic_chance(&mut self, electronic_chance: bool)

Source

pub fn with_electronic_chance( self, electronic_chance: bool, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn electronic_chance(&self) -> Option<&bool>

Source

pub fn reset_electronic_chance(&mut self)

Source

pub fn set_disallow_auto_repeat(&mut self, disallow_auto_repeat: bool)

Source

pub fn with_disallow_auto_repeat( self, disallow_auto_repeat: bool, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn disallow_auto_repeat(&self) -> Option<&bool>

Source

pub fn reset_disallow_auto_repeat(&mut self)

Source

pub fn set_effect_category(&mut self, effect_category: i32)

Source

pub fn with_effect_category( self, effect_category: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn effect_category(&self) -> Option<&i32>

Source

pub fn reset_effect_category(&mut self)

Source

pub fn set_falloff_attribute_id(&mut self, falloff_attribute_id: i32)

Source

pub fn with_falloff_attribute_id( self, falloff_attribute_id: i32, ) -> GetDogmaEffectsEffectIdOk

Source

pub fn falloff_attribute_id(&self) -> Option<&i32>

Source

pub fn reset_falloff_attribute_id(&mut self)

Source

pub fn set_name(&mut self, name: String)

Source

pub fn with_name(self, name: String) -> GetDogmaEffectsEffectIdOk

Source

pub fn name(&self) -> Option<&String>

Source

pub fn reset_name(&mut self)

Source

pub fn set_is_warp_safe(&mut self, is_warp_safe: bool)

Source

pub fn with_is_warp_safe(self, is_warp_safe: bool) -> GetDogmaEffectsEffectIdOk

Source

pub fn is_warp_safe(&self) -> Option<&bool>

Source

pub fn reset_is_warp_safe(&mut self)

Source

pub fn set_effect_id(&mut self, effect_id: i32)

Source

pub fn with_effect_id(self, effect_id: i32) -> GetDogmaEffectsEffectIdOk

Source

pub fn effect_id(&self) -> &i32

Source

pub fn set_is_offensive(&mut self, is_offensive: bool)

Source

pub fn with_is_offensive(self, is_offensive: bool) -> GetDogmaEffectsEffectIdOk

Source

pub fn is_offensive(&self) -> Option<&bool>

Source

pub fn reset_is_offensive(&mut self)

Trait Implementations§

Source§

impl Debug for GetDogmaEffectsEffectIdOk

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for GetDogmaEffectsEffectIdOk

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GetDogmaEffectsEffectIdOk

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Err = <U as TryFrom<T>>::Err

Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,