pub enum BodyFormat {
Text,
Html,
}Variants§
Trait Implementations§
Source§impl Clone for BodyFormat
impl Clone for BodyFormat
Source§fn clone(&self) -> BodyFormat
fn clone(&self) -> BodyFormat
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 BodyFormat
Source§impl Debug for BodyFormat
impl Debug for BodyFormat
Source§impl<'de> Deserialize<'de> for BodyFormat
impl<'de> Deserialize<'de> for BodyFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BodyFormat
Source§impl PartialEq for BodyFormat
impl PartialEq for BodyFormat
Source§impl Serialize for BodyFormat
impl Serialize for BodyFormat
impl StructuralPartialEq for BodyFormat
Auto Trait Implementations§
impl Freeze for BodyFormat
impl RefUnwindSafe for BodyFormat
impl Send for BodyFormat
impl Sync for BodyFormat
impl Unpin for BodyFormat
impl UnsafeUnpin for BodyFormat
impl UnwindSafe for BodyFormat
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