pub struct Utf8Validation(/* private fields */);Implementations§
Source§impl Utf8Validation
impl Utf8Validation
pub const UTF8_VALIDATION_UNKNOWN: Utf8Validation
pub const VERIFY: Utf8Validation
pub const NONE: Utf8Validation
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl Clone for Utf8Validation
impl Clone for Utf8Validation
Source§fn clone(&self) -> Utf8Validation
fn clone(&self) -> Utf8Validation
Returns a copy of the value. Read more
1.0.0 · 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 Utf8Validation
impl Debug for Utf8Validation
Source§impl Default for Utf8Validation
impl Default for Utf8Validation
Source§impl<'de> Deserialize<'de> for Utf8Validation
impl<'de> Deserialize<'de> for Utf8Validation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for Utf8Validation
impl From<i32> for Utf8Validation
Source§impl PartialEq for Utf8Validation
impl PartialEq for Utf8Validation
Source§impl Serialize for Utf8Validation
impl Serialize for Utf8Validation
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 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