pub enum ErrorBodyFormat {
PlainText,
Json,
}Variants§
Trait Implementations§
Source§impl Clone for ErrorBodyFormat
impl Clone for ErrorBodyFormat
Source§fn clone(&self) -> ErrorBodyFormat
fn clone(&self) -> ErrorBodyFormat
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 ErrorBodyFormat
Source§impl Debug for ErrorBodyFormat
impl Debug for ErrorBodyFormat
Source§impl Default for ErrorBodyFormat
impl Default for ErrorBodyFormat
Source§fn default() -> ErrorBodyFormat
fn default() -> ErrorBodyFormat
Returns the “default value” for a type. Read more
impl Eq for ErrorBodyFormat
Source§impl PartialEq for ErrorBodyFormat
impl PartialEq for ErrorBodyFormat
impl StructuralPartialEq for ErrorBodyFormat
Auto Trait Implementations§
impl Freeze for ErrorBodyFormat
impl RefUnwindSafe for ErrorBodyFormat
impl Send for ErrorBodyFormat
impl Sync for ErrorBodyFormat
impl Unpin for ErrorBodyFormat
impl UnsafeUnpin for ErrorBodyFormat
impl UnwindSafe for ErrorBodyFormat
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