pub enum WireFormatProfile {
Json,
Compact,
}Variants§
Trait Implementations§
Source§impl Clone for WireFormatProfile
impl Clone for WireFormatProfile
Source§fn clone(&self) -> WireFormatProfile
fn clone(&self) -> WireFormatProfile
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 moreSource§impl Debug for WireFormatProfile
impl Debug for WireFormatProfile
Source§impl Default for WireFormatProfile
impl Default for WireFormatProfile
Source§fn default() -> WireFormatProfile
fn default() -> WireFormatProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WireFormatProfile
impl<'de> Deserialize<'de> for WireFormatProfile
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
Source§impl PartialEq for WireFormatProfile
impl PartialEq for WireFormatProfile
Source§fn eq(&self, other: &WireFormatProfile) -> bool
fn eq(&self, other: &WireFormatProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WireFormatProfile
impl Serialize for WireFormatProfile
impl Copy for WireFormatProfile
impl Eq for WireFormatProfile
impl StructuralPartialEq for WireFormatProfile
Auto Trait Implementations§
impl Freeze for WireFormatProfile
impl RefUnwindSafe for WireFormatProfile
impl Send for WireFormatProfile
impl Sync for WireFormatProfile
impl Unpin for WireFormatProfile
impl UnsafeUnpin for WireFormatProfile
impl UnwindSafe for WireFormatProfile
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