pub struct InvalidUserId;Expand description
A request named a user_id that is not acceptable. Ids are never
“cleaned up”: stripping characters would merge distinct users
(bob.smith and bobsmith) into one lane (MYTH-12).
Trait Implementations§
Source§impl Clone for InvalidUserId
impl Clone for InvalidUserId
impl Copy for InvalidUserId
Source§impl Debug for InvalidUserId
impl Debug for InvalidUserId
Source§impl Display for InvalidUserId
impl Display for InvalidUserId
impl Eq for InvalidUserId
Source§impl Error for InvalidUserId
impl Error for InvalidUserId
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for InvalidUserId
impl PartialEq for InvalidUserId
impl StructuralPartialEq for InvalidUserId
Auto Trait Implementations§
impl Forget for InvalidUserId
impl Freeze for InvalidUserId
impl Move for InvalidUserId
impl RefUnwindSafe for InvalidUserId
impl Send for InvalidUserId
impl Sync for InvalidUserId
impl Unpin for InvalidUserId
impl UnsafeUnpin for InvalidUserId
impl UnwindSafe for InvalidUserId
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