pub enum EmpireRank {
Show 16 variants
None,
Outsider,
Serf,
Master,
Squire,
Knight,
Lord,
Baron,
Viscount,
Count,
Earl,
Marquis,
Duke,
Prince,
King,
Unknown(u8),
}
Variants§
None
Outsider
Serf
Master
Squire
Knight
Lord
Baron
Viscount
Count
Earl
Marquis
Duke
Prince
King
Unknown(u8)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for EmpireRank
impl Clone for EmpireRank
Source§fn clone(&self) -> EmpireRank
fn clone(&self) -> EmpireRank
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 EmpireRank
impl Debug for EmpireRank
Source§impl<'de> Deserialize<'de> for EmpireRank
impl<'de> Deserialize<'de> for EmpireRank
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 EmpireRank
impl Display for EmpireRank
Source§impl PartialEq for EmpireRank
impl PartialEq for EmpireRank
Source§impl Serialize for EmpireRank
impl Serialize for EmpireRank
Source§impl TryFrom<u8> for EmpireRank
impl TryFrom<u8> for EmpireRank
impl StructuralPartialEq for EmpireRank
Auto Trait Implementations§
impl Freeze for EmpireRank
impl RefUnwindSafe for EmpireRank
impl Send for EmpireRank
impl Sync for EmpireRank
impl Unpin for EmpireRank
impl UnwindSafe for EmpireRank
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