pub struct PolicyPendingError {
pub http_status: u16,
pub message: String,
pub context: Option<Value>,
}
Fields§
§http_status: u16
§message: String
§context: Option<Value>
Implementations§
Trait Implementations§
Source§impl Debug for PolicyPendingError
impl Debug for PolicyPendingError
Source§impl Display for PolicyPendingError
impl Display for PolicyPendingError
Source§impl Error for PolicyPendingError
impl Error for PolicyPendingError
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 From<PolicyPendingError> for DfnsError
impl From<PolicyPendingError> for DfnsError
Source§fn from(err: PolicyPendingError) -> Self
fn from(err: PolicyPendingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PolicyPendingError
impl RefUnwindSafe for PolicyPendingError
impl Send for PolicyPendingError
impl Sync for PolicyPendingError
impl Unpin for PolicyPendingError
impl UnwindSafe for PolicyPendingError
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