pub struct UserValidationRejection {
pub error: String,
pub error_description: Option<String>,
}Expand description
A policy denial. An empty error is an admission, and an empty description falls back to the error code, matching the callback’s public contract.
Fields§
§error: String§error_description: Option<String>Trait Implementations§
Source§impl Clone for UserValidationRejection
impl Clone for UserValidationRejection
Auto Trait Implementations§
impl Freeze for UserValidationRejection
impl RefUnwindSafe for UserValidationRejection
impl Send for UserValidationRejection
impl Sync for UserValidationRejection
impl Unpin for UserValidationRejection
impl UnsafeUnpin for UserValidationRejection
impl UnwindSafe for UserValidationRejection
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