#[repr(C)]pub enum VSDataTypeHint {
Unknown = -1,
Binary = 0,
Utf8 = 1,
}
Expand description
Since the data type can contain both pure binary data and printable strings, the type also contains a hint for whether or not it is human readable. Generally the unknown type should be very rare and is almost only created as an artifact of API3 compatibility.
Variants§
Trait Implementations§
Source§impl Clone for VSDataTypeHint
impl Clone for VSDataTypeHint
Source§fn clone(&self) -> VSDataTypeHint
fn clone(&self) -> VSDataTypeHint
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 VSDataTypeHint
impl Debug for VSDataTypeHint
Source§impl Hash for VSDataTypeHint
impl Hash for VSDataTypeHint
Source§impl Ord for VSDataTypeHint
impl Ord for VSDataTypeHint
Source§fn cmp(&self, other: &VSDataTypeHint) -> Ordering
fn cmp(&self, other: &VSDataTypeHint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VSDataTypeHint
impl PartialEq for VSDataTypeHint
Source§impl PartialOrd for VSDataTypeHint
impl PartialOrd for VSDataTypeHint
impl Copy for VSDataTypeHint
impl Eq for VSDataTypeHint
impl StructuralPartialEq for VSDataTypeHint
Auto Trait Implementations§
impl Freeze for VSDataTypeHint
impl RefUnwindSafe for VSDataTypeHint
impl Send for VSDataTypeHint
impl Sync for VSDataTypeHint
impl Unpin for VSDataTypeHint
impl UnwindSafe for VSDataTypeHint
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