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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)