Struct torn_api::common::RespectModifiers
source · pub struct RespectModifiers {
pub fair_fight: f32,
pub war: f32,
pub retaliation: f32,
pub group_attack: f32,
pub overseas: f32,
pub chain_bonus: f32,
}
Fields§
§fair_fight: f32
§war: f32
§retaliation: f32
§group_attack: f32
§overseas: f32
§chain_bonus: f32
Trait Implementations§
source§impl Clone for RespectModifiers
impl Clone for RespectModifiers
source§fn clone(&self) -> RespectModifiers
fn clone(&self) -> RespectModifiers
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RespectModifiers
impl Debug for RespectModifiers
source§impl<'de> Deserialize<'de> for RespectModifiers
impl<'de> Deserialize<'de> for RespectModifiers
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 RefUnwindSafe for RespectModifiers
impl Send for RespectModifiers
impl Sync for RespectModifiers
impl Unpin for RespectModifiers
impl UnwindSafe for RespectModifiers
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