pub enum RepresentationKind {
Json,
Xml,
Form,
Binary,
Text,
}Expand description
Representation kind labels.
Variants§
Json
A stable label variant.
Xml
A stable label variant.
Form
A stable label variant.
Binary
A stable label variant.
Text
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for RepresentationKind
impl Clone for RepresentationKind
Source§fn clone(&self) -> RepresentationKind
fn clone(&self) -> RepresentationKind
Returns a duplicate 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 RepresentationKind
impl Debug for RepresentationKind
Source§impl Default for RepresentationKind
impl Default for RepresentationKind
Source§impl Display for RepresentationKind
impl Display for RepresentationKind
Source§impl FromStr for RepresentationKind
impl FromStr for RepresentationKind
Source§impl Hash for RepresentationKind
impl Hash for RepresentationKind
Source§impl Ord for RepresentationKind
impl Ord for RepresentationKind
Source§fn cmp(&self, other: &RepresentationKind) -> Ordering
fn cmp(&self, other: &RepresentationKind) -> 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 RepresentationKind
impl PartialEq for RepresentationKind
Source§impl PartialOrd for RepresentationKind
impl PartialOrd for RepresentationKind
impl Copy for RepresentationKind
impl Eq for RepresentationKind
impl StructuralPartialEq for RepresentationKind
Auto Trait Implementations§
impl Freeze for RepresentationKind
impl RefUnwindSafe for RepresentationKind
impl Send for RepresentationKind
impl Sync for RepresentationKind
impl Unpin for RepresentationKind
impl UnsafeUnpin for RepresentationKind
impl UnwindSafe for RepresentationKind
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