pub struct Account {Show 14 fields
pub id: String,
pub age: u64,
pub name: String,
pub world: WorldId,
pub guilds: Vec<String>,
pub guild_leader: Option<Vec<String>>,
pub created: TimeStamp,
pub access: BTreeSet<Access>,
pub commander: bool,
pub fractal_level: Option<u8>,
pub daily_ap: Option<u16>,
pub monthly_ap: Option<u16>,
pub wvw_rank: Option<u16>,
pub last_modified: String,
}Fields§
§id: String§age: u64§name: String§world: WorldId§guilds: Vec<String>§guild_leader: Option<Vec<String>>§created: TimeStamp§access: BTreeSet<Access>§commander: bool§fractal_level: Option<u8>§daily_ap: Option<u16>§monthly_ap: Option<u16>§wvw_rank: Option<u16>§last_modified: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl Endpoint for Account
Source§const AUTHENTICATED: bool = true
const AUTHENTICATED: bool = true
whether this endpoint requires authentication
impl FixedEndpoint for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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