pub enum ConflictWarType {
Election,
War,
CivilWar,
Unknown(String),
}
Expand description
The kind of conflict.
Variants§
Trait Implementations§
Source§impl Clone for ConflictWarType
impl Clone for ConflictWarType
Source§fn clone(&self) -> ConflictWarType
fn clone(&self) -> ConflictWarType
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 ConflictWarType
impl Debug for ConflictWarType
Source§impl<'de> Deserialize<'de> for ConflictWarType
impl<'de> Deserialize<'de> for ConflictWarType
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
Source§impl PartialEq for ConflictWarType
impl PartialEq for ConflictWarType
Source§impl Serialize for ConflictWarType
impl Serialize for ConflictWarType
impl StructuralPartialEq for ConflictWarType
Auto Trait Implementations§
impl Freeze for ConflictWarType
impl RefUnwindSafe for ConflictWarType
impl Send for ConflictWarType
impl Sync for ConflictWarType
impl Unpin for ConflictWarType
impl UnwindSafe for ConflictWarType
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