pub struct ContinentLock {
pub timestamp: DateTime<Utc>,
pub world_id: WorldID,
pub zone_id: ZoneID,
pub triggering_faction: Faction,
pub previous_faction: Faction,
pub vs_population: u16,
pub nc_population: u16,
pub tr_population: u16,
pub metagame_event_id: u8,
}Fields§
§timestamp: DateTime<Utc>§world_id: WorldID§zone_id: ZoneID§triggering_faction: Faction§previous_faction: Faction§vs_population: u16§nc_population: u16§tr_population: u16§metagame_event_id: u8Trait Implementations§
Source§impl Clone for ContinentLock
impl Clone for ContinentLock
Source§fn clone(&self) -> ContinentLock
fn clone(&self) -> ContinentLock
Returns a duplicate 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 ContinentLock
impl Debug for ContinentLock
Source§impl<'de> Deserialize<'de> for ContinentLock
impl<'de> Deserialize<'de> for ContinentLock
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 Hash for ContinentLock
impl Hash for ContinentLock
Source§impl PartialEq for ContinentLock
impl PartialEq for ContinentLock
Source§impl Serialize for ContinentLock
impl Serialize for ContinentLock
impl Eq for ContinentLock
impl StructuralPartialEq for ContinentLock
Auto Trait Implementations§
impl Freeze for ContinentLock
impl RefUnwindSafe for ContinentLock
impl Send for ContinentLock
impl Sync for ContinentLock
impl Unpin for ContinentLock
impl UnsafeUnpin for ContinentLock
impl UnwindSafe for ContinentLock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.