Struct torn_api::common::AttackFull  
source · pub struct AttackFull<'a> {Show 18 fields
    pub code: &'a str,
    pub timestamp_started: DateTime<Utc>,
    pub timestamp_ended: DateTime<Utc>,
    pub attacker_id: Option<i32>,
    pub attacker_name: Option<&'a str>,
    pub attacker_faction: Option<i32>,
    pub attacker_faction_name: Option<&'a str>,
    pub defender_id: i32,
    pub defender_name: &'a str,
    pub defender_faction: Option<i32>,
    pub defender_faction_name: Option<&'a str>,
    pub result: AttackResult,
    pub stealthed: bool,
    pub raid: bool,
    pub ranked_war: bool,
    pub respect: f32,
    pub respect_loss: f32,
    pub modifiers: RespectModifiers,
}Fields§
§code: &'a str§timestamp_started: DateTime<Utc>§timestamp_ended: DateTime<Utc>§attacker_id: Option<i32>§attacker_name: Option<&'a str>§attacker_faction: Option<i32>§attacker_faction_name: Option<&'a str>§defender_id: i32§defender_name: &'a str§defender_faction: Option<i32>§defender_faction_name: Option<&'a str>§result: AttackResult§stealthed: bool§raid: bool§ranked_war: bool§respect: f32§respect_loss: f32§modifiers: RespectModifiersTrait Implementations§
source§impl<'a> Clone for AttackFull<'a>
 
impl<'a> Clone for AttackFull<'a>
source§fn clone(&self) -> AttackFull<'a>
 
fn clone(&self) -> AttackFull<'a>
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<'a> Debug for AttackFull<'a>
 
impl<'a> Debug for AttackFull<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for AttackFull<'a>
 
impl<'de: 'a, 'a> Deserialize<'de> for AttackFull<'a>
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<'a> RefUnwindSafe for AttackFull<'a>
impl<'a> Send for AttackFull<'a>
impl<'a> Sync for AttackFull<'a>
impl<'a> Unpin for AttackFull<'a>
impl<'a> UnwindSafe for AttackFull<'a>
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