pub struct ConflictFaction {
pub name: String,
pub stake: String,
pub won_days: u32,
}
Expand description
Information about the participating faction in a conflict.
Fields§
§name: String
The name of the faction participating in a conflict.
stake: String
The name of the asset that is at stake in the conflict.
won_days: u32
The number of days the faction has won in the conflict.
Trait Implementations§
Source§impl Clone for ConflictFaction
impl Clone for ConflictFaction
Source§fn clone(&self) -> ConflictFaction
fn clone(&self) -> ConflictFaction
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 ConflictFaction
impl Debug for ConflictFaction
Source§impl<'de> Deserialize<'de> for ConflictFaction
impl<'de> Deserialize<'de> for ConflictFaction
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 ConflictFaction
impl PartialEq for ConflictFaction
Source§impl Serialize for ConflictFaction
impl Serialize for ConflictFaction
impl StructuralPartialEq for ConflictFaction
Auto Trait Implementations§
impl Freeze for ConflictFaction
impl RefUnwindSafe for ConflictFaction
impl Send for ConflictFaction
impl Sync for ConflictFaction
impl Unpin for ConflictFaction
impl UnwindSafe for ConflictFaction
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