pub struct TerritoryWarId(pub i32);
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
Source§impl Clone for TerritoryWarId
impl Clone for TerritoryWarId
Source§fn clone(&self) -> TerritoryWarId
fn clone(&self) -> TerritoryWarId
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 TerritoryWarId
impl Debug for TerritoryWarId
Source§impl<'de> Deserialize<'de> for TerritoryWarId
impl<'de> Deserialize<'de> for TerritoryWarId
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 Display for TerritoryWarId
impl Display for TerritoryWarId
Source§impl From<TerritoryWarId> for Id
impl From<TerritoryWarId> for Id
Source§fn from(value: TerritoryWarId) -> Self
fn from(value: TerritoryWarId) -> Self
Converts to this type from the input type.
Source§impl From<TerritoryWarId> for i32
impl From<TerritoryWarId> for i32
Source§fn from(outer: TerritoryWarId) -> Self
fn from(outer: TerritoryWarId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for TerritoryWarId
impl From<i32> for TerritoryWarId
Source§impl Hash for TerritoryWarId
impl Hash for TerritoryWarId
Source§impl Ord for TerritoryWarId
impl Ord for TerritoryWarId
Source§fn cmp(&self, other: &TerritoryWarId) -> Ordering
fn cmp(&self, other: &TerritoryWarId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TerritoryWarId
impl PartialEq for TerritoryWarId
Source§impl PartialOrd for TerritoryWarId
impl PartialOrd for TerritoryWarId
impl Copy for TerritoryWarId
impl Eq for TerritoryWarId
impl StructuralPartialEq for TerritoryWarId
Auto Trait Implementations§
impl Freeze for TerritoryWarId
impl RefUnwindSafe for TerritoryWarId
impl Send for TerritoryWarId
impl Sync for TerritoryWarId
impl Unpin for TerritoryWarId
impl UnwindSafe for TerritoryWarId
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