pub struct UserLife {
pub current: Option<i32>,
pub maximum: Option<i32>,
}
Expand description
Unfortunately, current life value is often shown incorrectly, and the calculation for each member is very resource heavy, so this field is deprecated and will be removed on 1st of May, 2025.
Fields§
§current: Option<i32>
§maximum: Option<i32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserLife
impl<'de> Deserialize<'de> for UserLife
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 StructuralPartialEq for UserLife
Auto Trait Implementations§
impl Freeze for UserLife
impl RefUnwindSafe for UserLife
impl Send for UserLife
impl Sync for UserLife
impl Unpin for UserLife
impl UnwindSafe for UserLife
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