Struct u_interface::UserRank
source · [−]pub(crate) struct UserRank {
pub(crate) rank: u32,
pub(crate) old: u8,
pub(crate) userid: u32,
pub(crate) name: String,
pub(crate) username: String,
pub(crate) ac: u16,
pub(crate) nos: u16,
pub(crate) activity: Vec<u16>,
}
Expand description
A struct holding data for the position in the ranking of a user
Fields
rank: u32
old: u8
userid: u32
name: String
username: String
ac: u16
nos: u16
activity: Vec<u16>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for UserRank
impl<'de> Deserialize<'de> for UserRank
sourcefn 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 RefUnwindSafe for UserRank
impl Send for UserRank
impl Sync for UserRank
impl Unpin for UserRank
impl UnwindSafe for UserRank
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more