pub struct RejectionDetails {
pub field_paths: Option<Vec<String>>,
pub reason: Option<String>,
pub required_action: Option<String>,
pub references: Option<BTreeMap<String, String>>,
}Expand description
Bounded code-like metadata explicitly declared safe for authorized client
recovery UI. Diagnostic prose remains in RejectionRecord.message.
Fields§
§field_paths: Option<Vec<String>>§reason: Option<String>§required_action: Option<String>§references: Option<BTreeMap<String, String>>Trait Implementations§
Source§impl Clone for RejectionDetails
impl Clone for RejectionDetails
Source§fn clone(&self) -> RejectionDetails
fn clone(&self) -> RejectionDetails
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 RejectionDetails
impl Debug for RejectionDetails
Source§impl<'de> Deserialize<'de> for RejectionDetails
impl<'de> Deserialize<'de> for RejectionDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RejectionDetails
Source§impl PartialEq for RejectionDetails
impl PartialEq for RejectionDetails
Source§impl Serialize for RejectionDetails
impl Serialize for RejectionDetails
impl StructuralPartialEq for RejectionDetails
Auto Trait Implementations§
impl Freeze for RejectionDetails
impl RefUnwindSafe for RejectionDetails
impl Send for RejectionDetails
impl Sync for RejectionDetails
impl Unpin for RejectionDetails
impl UnsafeUnpin for RejectionDetails
impl UnwindSafe for RejectionDetails
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