#[repr(u8)]pub enum FormatIndicator {
UnspecifiedBytes = 0,
Utf8EncodedCharacterData = 1,
}
Expand description
Format indicator for serialization and deserialization.
Variants§
UnspecifiedBytes = 0
Unspecified Bytes
Utf8EncodedCharacterData = 1
UTF-8 Encoded Character Data (such as JSON)
Trait Implementations§
Source§impl Clone for FormatIndicator
impl Clone for FormatIndicator
Source§fn clone(&self) -> FormatIndicator
fn clone(&self) -> FormatIndicator
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 FormatIndicator
impl Debug for FormatIndicator
Source§impl Default for FormatIndicator
impl Default for FormatIndicator
Source§fn default() -> FormatIndicator
fn default() -> FormatIndicator
Returns the “default value” for a type. Read more
Source§impl PartialEq for FormatIndicator
impl PartialEq for FormatIndicator
impl StructuralPartialEq for FormatIndicator
Auto Trait Implementations§
impl Freeze for FormatIndicator
impl RefUnwindSafe for FormatIndicator
impl Send for FormatIndicator
impl Sync for FormatIndicator
impl Unpin for FormatIndicator
impl UnwindSafe for FormatIndicator
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