pub struct ScimHookError {
pub status: StatusCode,
pub code: String,
pub message: String,
}Expand description
Error returned by SCIM hooks to abort a management request.
Fields§
§status: StatusCodeHTTP status returned to the caller.
code: StringStable API error code.
message: StringHuman-readable error message.
Implementations§
Trait Implementations§
Source§impl Clone for ScimHookError
impl Clone for ScimHookError
Source§fn clone(&self) -> ScimHookError
fn clone(&self) -> ScimHookError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScimHookError
impl Debug for ScimHookError
impl Eq for ScimHookError
Source§impl PartialEq for ScimHookError
impl PartialEq for ScimHookError
Source§fn eq(&self, other: &ScimHookError) -> bool
fn eq(&self, other: &ScimHookError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScimHookError
Auto Trait Implementations§
impl Freeze for ScimHookError
impl RefUnwindSafe for ScimHookError
impl Send for ScimHookError
impl Sync for ScimHookError
impl Unpin for ScimHookError
impl UnsafeUnpin for ScimHookError
impl UnwindSafe for ScimHookError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.