pub struct War {
pub state: String,
pub team_size: Option<i32>,
pub attacks_per_member: Option<i8>,
pub clan: Option<WarClan>,
pub opponent: Option<WarClan>,
/* private fields */
}
Fields§
§state: String
§team_size: Option<i32>
§attacks_per_member: Option<i8>
§clan: Option<WarClan>
§opponent: Option<WarClan>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for War
impl<'de> Deserialize<'de> for War
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 War
impl Send for War
impl Sync for War
impl Unpin for War
impl UnwindSafe for War
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