#[repr(i32)]pub enum Utf8Validation {
UTF8_VALIDATION_UNKNOWN = 0,
VERIFY = 2,
NONE = 3,
}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 moreSource§impl Debug for Utf8Validation
impl Debug for Utf8Validation
Source§impl Default for Utf8Validation
impl Default for Utf8Validation
Source§fn default() -> Utf8Validation
fn default() -> Utf8Validation
Returns the “default value” for a type. Read more
Source§impl Enumeration for Utf8Validation
impl Enumeration for Utf8Validation
Source§fn from_i32(value: i32) -> Option<Utf8Validation>
fn from_i32(value: i32) -> Option<Utf8Validation>
Convert from an
i32 wire value to the enum. Read moreSource§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.Source§fn from_proto_name(name: &str) -> Option<Utf8Validation>
fn from_proto_name(name: &str) -> Option<Utf8Validation>
Look up a variant by its protobuf name string. Read more
Source§fn values() -> &'static [Utf8Validation]
fn values() -> &'static [Utf8Validation]
All known variants of this enum, in proto declaration order. Read more
Source§impl Hash for Utf8Validation
impl Hash 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 Copy for Utf8Validation
impl Eq 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 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