#[non_exhaustive]pub enum Utf8Validation {
Verify,
None,
}Expand description
Controls UTF-8 validation for string fields.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for Utf8Validation
impl Clone for Utf8Validation
Source§fn clone(&self) -> Utf8Validation
fn clone(&self) -> Utf8Validation
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 moreimpl Copy for Utf8Validation
Source§impl Debug for Utf8Validation
impl Debug for Utf8Validation
impl Eq for Utf8Validation
Source§impl PartialEq for Utf8Validation
impl PartialEq for Utf8Validation
Source§fn eq(&self, other: &Utf8Validation) -> bool
fn eq(&self, other: &Utf8Validation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Utf8Validation
Auto Trait Implementations§
impl Freeze for Utf8Validation
impl RefUnwindSafe for Utf8Validation
impl Send for Utf8Validation
impl Sync for Utf8Validation
impl Unpin for Utf8Validation
impl UnsafeUnpin for Utf8Validation
impl UnwindSafe for Utf8Validation
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