pub enum UnstructuredPayloadKind {
Text,
Binary,
}Expand description
Which flavour of unstructured payload a type is, irrespective of whether it
is carried by a canonical variant { inline, url } wrapper or a bare
Text / Binary rich scalar.
Variants§
Trait Implementations§
Source§impl Clone for UnstructuredPayloadKind
impl Clone for UnstructuredPayloadKind
Source§fn clone(&self) -> UnstructuredPayloadKind
fn clone(&self) -> UnstructuredPayloadKind
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 moreimpl Copy for UnstructuredPayloadKind
Source§impl Debug for UnstructuredPayloadKind
impl Debug for UnstructuredPayloadKind
impl Eq for UnstructuredPayloadKind
Source§impl PartialEq for UnstructuredPayloadKind
impl PartialEq for UnstructuredPayloadKind
impl StructuralPartialEq for UnstructuredPayloadKind
Auto Trait Implementations§
impl Freeze for UnstructuredPayloadKind
impl RefUnwindSafe for UnstructuredPayloadKind
impl Send for UnstructuredPayloadKind
impl Sync for UnstructuredPayloadKind
impl Unpin for UnstructuredPayloadKind
impl UnsafeUnpin for UnstructuredPayloadKind
impl UnwindSafe for UnstructuredPayloadKind
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