pub struct UserLevel {
pub current: u32,
pub progress: u32,
}Expand description
Level progression of a UserExtended.
Fields§
§current: u32The current level
progress: u32Percentage to the next level between 0.0 and 100.0
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserLevel
impl<'de> Deserialize<'de> for UserLevel
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
impl Copy for UserLevel
impl Eq for UserLevel
impl StructuralPartialEq for UserLevel
Auto Trait Implementations§
impl Freeze for UserLevel
impl RefUnwindSafe for UserLevel
impl Send for UserLevel
impl Sync for UserLevel
impl Unpin for UserLevel
impl UnwindSafe for UserLevel
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.