pub struct AuthErrorDetails {
pub field: Option<String>,
pub context: Option<String>,
pub suggested_action: Option<String>,
pub docs_url: Option<String>,
}Expand description
Structured error details for machine-readable error handling
Fields§
§field: Option<String>The specific field or parameter that caused the error (if applicable)
context: Option<String>Additional context about the error
suggested_action: Option<String>Suggested action for the client to resolve the error
docs_url: Option<String>Related documentation URL
Trait Implementations§
Source§impl Clone for AuthErrorDetails
impl Clone for AuthErrorDetails
Source§fn clone(&self) -> AuthErrorDetails
fn clone(&self) -> AuthErrorDetails
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 moreSource§impl Debug for AuthErrorDetails
impl Debug for AuthErrorDetails
Source§impl Default for AuthErrorDetails
impl Default for AuthErrorDetails
Source§fn default() -> AuthErrorDetails
fn default() -> AuthErrorDetails
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthErrorDetails
impl RefUnwindSafe for AuthErrorDetails
impl Send for AuthErrorDetails
impl Sync for AuthErrorDetails
impl Unpin for AuthErrorDetails
impl UnsafeUnpin for AuthErrorDetails
impl UnwindSafe for AuthErrorDetails
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