#[non_exhaustive]pub struct VerifyConfig {
pub strict: bool,
pub on_missing_id: OnMissingId,
}Expand description
Resolved [verify] configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.strict: boolTreat a well-formed-but-non-resolving id as a failure.
on_missing_id: OnMissingIdPolicy for id-less entries.
Trait Implementations§
Source§impl Clone for VerifyConfig
impl Clone for VerifyConfig
Source§fn clone(&self) -> VerifyConfig
fn clone(&self) -> VerifyConfig
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 VerifyConfig
impl Debug for VerifyConfig
Source§impl Default for VerifyConfig
impl Default for VerifyConfig
Source§fn default() -> VerifyConfig
fn default() -> VerifyConfig
Returns the “default value” for a type. Read more
impl Eq for VerifyConfig
Source§impl PartialEq for VerifyConfig
impl PartialEq for VerifyConfig
Source§fn eq(&self, other: &VerifyConfig) -> bool
fn eq(&self, other: &VerifyConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerifyConfig
Auto Trait Implementations§
impl Freeze for VerifyConfig
impl RefUnwindSafe for VerifyConfig
impl Send for VerifyConfig
impl Sync for VerifyConfig
impl Unpin for VerifyConfig
impl UnsafeUnpin for VerifyConfig
impl UnwindSafe for VerifyConfig
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