pub struct Core {
pub name: CharacterId,
pub race: Race,
pub gender: Gender,
pub profession: Profession,
pub level: u8,
pub guild: Option<String>,
pub age: Age,
pub created: TimeStamp,
pub last_modified: TimeStamp,
pub deaths: u32,
pub title: Option<TitleId>,
}Fields§
§name: CharacterId§race: Race§gender: Gender§profession: Profession§level: u8§guild: Option<String>§age: Age§created: TimeStamp§last_modified: TimeStamp§deaths: u32§title: Option<TitleId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Core
impl<'de> Deserialize<'de> for Core
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 Endpoint for Core
impl Endpoint for Core
Source§const AUTHENTICATED: bool = true
const AUTHENTICATED: bool = true
whether this endpoint requires authentication
Source§impl EndpointWithId for Core
impl EndpointWithId for Core
Auto Trait Implementations§
impl Freeze for Core
impl RefUnwindSafe for Core
impl Send for Core
impl Sync for Core
impl Unpin for Core
impl UnwindSafe for Core
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more