pub struct ValidatorSettings {
pub check_fields_out_of_order: bool,
pub reject_invalid_message: bool,
pub allow_unknown_message_fields: bool,
pub check_user_defined_fields: bool,
pub check_fields_have_values: bool,
}Fields§
§check_fields_out_of_order: bool§reject_invalid_message: bool§allow_unknown_message_fields: bool§check_user_defined_fields: bool§check_fields_have_values: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ValidatorSettings
impl RefUnwindSafe for ValidatorSettings
impl Send for ValidatorSettings
impl Sync for ValidatorSettings
impl Unpin for ValidatorSettings
impl UnsafeUnpin for ValidatorSettings
impl UnwindSafe for ValidatorSettings
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