pub enum FederationRank {
Show 16 variants
None,
Recruit,
Cadet,
Midshipman,
PettyOfficer,
ChiefPettyOfficer,
WarrantOfficer,
Ensign,
Lieutenant,
LieutenantCommander,
PostCommander,
PostCaptain,
RearAdmiral,
ViceAdmiral,
Admiral,
Unknown(u8),
}
Variants§
None
Recruit
Cadet
Midshipman
PettyOfficer
ChiefPettyOfficer
WarrantOfficer
Ensign
Lieutenant
LieutenantCommander
PostCommander
PostCaptain
RearAdmiral
ViceAdmiral
Admiral
Unknown(u8)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for FederationRank
impl Clone for FederationRank
Source§fn clone(&self) -> FederationRank
fn clone(&self) -> FederationRank
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 FederationRank
impl Debug for FederationRank
Source§impl<'de> Deserialize<'de> for FederationRank
impl<'de> Deserialize<'de> for FederationRank
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 FederationRank
impl Display for FederationRank
Source§impl PartialEq for FederationRank
impl PartialEq for FederationRank
Source§impl Serialize for FederationRank
impl Serialize for FederationRank
Source§impl TryFrom<u8> for FederationRank
impl TryFrom<u8> for FederationRank
impl StructuralPartialEq for FederationRank
Auto Trait Implementations§
impl Freeze for FederationRank
impl RefUnwindSafe for FederationRank
impl Send for FederationRank
impl Sync for FederationRank
impl Unpin for FederationRank
impl UnwindSafe for FederationRank
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