pub struct MissingRole<R>(pub R);
Expand description
Account that attempted an action is missing a role
Tuple Fields§
§0: R
Trait Implementations§
source§impl<R: Clone> Clone for MissingRole<R>
impl<R: Clone> Clone for MissingRole<R>
source§fn clone(&self) -> MissingRole<R>
fn clone(&self) -> MissingRole<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: Debug> Debug for MissingRole<R>
impl<R: Debug> Debug for MissingRole<R>
source§impl<R> Display for MissingRole<R>where
R: Display,
impl<R> Display for MissingRole<R>where
R: Display,
source§impl<R> Error for MissingRole<R>where
Self: Debug + Display,
impl<R> Error for MissingRole<R>where
Self: Debug + Display,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()