pub struct NameUUID {
pub id: String,
pub name: String,
pub legacy: bool,
pub demo: bool,
}Expand description
Represents a single username - UUID mapping.
This struct is used in both PlayernamesToUUIDs and NameToUUID.
Fields§
§id: StringThe uuid in hex without dashes
name: StringName of the player at the present point in time
legacy: bool§demo: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for NameUUID
impl<'de> Deserialize<'de> for NameUUID
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
Auto Trait Implementations§
impl Freeze for NameUUID
impl RefUnwindSafe for NameUUID
impl Send for NameUUID
impl Sync for NameUUID
impl Unpin for NameUUID
impl UnsafeUnpin for NameUUID
impl UnwindSafe for NameUUID
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