pub struct AccessFailure {
pub code: Option<ErrorCode>,
}Expand description
Gives additional information about the reason for an access failure.
According to rfc6750, this should not be returned if the client has not provided any authentication information.
Fields§
§code: Option<ErrorCode>The standard error code representation.
Trait Implementations§
Source§impl Clone for AccessFailure
impl Clone for AccessFailure
Source§fn clone(&self) -> AccessFailure
fn clone(&self) -> AccessFailure
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AccessFailure
impl RefUnwindSafe for AccessFailure
impl Send for AccessFailure
impl Sync for AccessFailure
impl Unpin for AccessFailure
impl UnwindSafe for AccessFailure
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