pub enum Validate {
Yes,
No,
}
Expand description
Whether to validate the element after deserializing it. Specific behavior depends on
implementation. If no validation algorithm exists (e.g. on Fp
), mode is ignored.
Variants§
Trait Implementations§
impl Copy for Validate
impl Eq for Validate
impl StructuralPartialEq for Validate
Auto Trait Implementations§
impl Freeze for Validate
impl RefUnwindSafe for Validate
impl Send for Validate
impl Sync for Validate
impl Unpin for Validate
impl UnwindSafe for Validate
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