Struct torn_api::torn::TerritoryWar
source · pub struct TerritoryWar {
pub territory_war_id: i32,
pub assaulting_faction: i32,
pub defending_faction: i32,
pub started: DateTime<Utc>,
pub ends: DateTime<Utc>,
}
Fields§
§territory_war_id: i32
§assaulting_faction: i32
§defending_faction: i32
§started: DateTime<Utc>
§ends: DateTime<Utc>
Trait Implementations§
source§impl Clone for TerritoryWar
impl Clone for TerritoryWar
source§fn clone(&self) -> TerritoryWar
fn clone(&self) -> TerritoryWar
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 TerritoryWar
impl Debug for TerritoryWar
source§impl<'de> Deserialize<'de> for TerritoryWar
impl<'de> Deserialize<'de> for TerritoryWar
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 TerritoryWar
impl RefUnwindSafe for TerritoryWar
impl Send for TerritoryWar
impl Sync for TerritoryWar
impl Unpin for TerritoryWar
impl UnwindSafe for TerritoryWar
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