pub struct Define {
pub name: String,
pub value: Value,
/* private fields */
}
Fields§
§name: String
§value: Value
Implementations§
Trait Implementations§
Source§impl UserCount for Define
impl UserCount for Define
Source§fn user_increase(&mut self)
fn user_increase(&mut self)
Add a user
Source§fn user_count(&self) -> usize
fn user_count(&self) -> usize
How many users have been registered
Source§fn user_empty(&self) -> bool
fn user_empty(&self) -> bool
Are there any users registered
Auto Trait Implementations§
impl Freeze for Define
impl RefUnwindSafe for Define
impl Send for Define
impl Sync for Define
impl Unpin for Define
impl UnwindSafe for Define
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