pub enum ModifySelfservicePermissionsError {
AccessDenied(String),
InvalidParameterValues(String),
ResourceNotFound(String),
}Expand description
Errors returned by ModifySelfservicePermissions
Variants§
AccessDenied(String)
The user is not authorized to access a resource.
InvalidParameterValues(String)
One or more parameter values are not valid.
ResourceNotFound(String)
The resource could not be found.
Implementations§
Trait Implementations§
Source§impl Error for ModifySelfservicePermissionsError
impl Error for ModifySelfservicePermissionsError
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 ModifySelfservicePermissionsError
impl PartialEq for ModifySelfservicePermissionsError
Source§fn eq(&self, other: &ModifySelfservicePermissionsError) -> bool
fn eq(&self, other: &ModifySelfservicePermissionsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifySelfservicePermissionsError
Auto Trait Implementations§
impl Freeze for ModifySelfservicePermissionsError
impl RefUnwindSafe for ModifySelfservicePermissionsError
impl Send for ModifySelfservicePermissionsError
impl Sync for ModifySelfservicePermissionsError
impl Unpin for ModifySelfservicePermissionsError
impl UnwindSafe for ModifySelfservicePermissionsError
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