pub struct Account {
pub delete: &'static str,
pub email_exists: &'static str,
pub update_email: &'static str,
pub update_password: &'static str,
pub username_exists: &'static str,
pub update_username: &'static str,
}
Expand description
Account management routes
Fields
delete: &'static str
delete account route
email_exists: &'static str
route to check if an email exists
update_email: &'static str
route to update a user’s email
update_password: &'static str
route to update password
username_exists: &'static str
route to check if a username is already registered
update_username: &'static str
route to change username
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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