pub enum MessageContentType {
Json,
Yaml,
Pickle,
MsgPack,
}
Expand description
Serialization formats supported for message body.
Variants§
Trait Implementations§
Source§impl Clone for MessageContentType
impl Clone for MessageContentType
Source§fn clone(&self) -> MessageContentType
fn clone(&self) -> MessageContentType
Returns a copy 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 Default for MessageContentType
impl Default for MessageContentType
Source§fn default() -> MessageContentType
fn default() -> MessageContentType
Returns the “default value” for a type. Read more
impl Copy for MessageContentType
Auto Trait Implementations§
impl Freeze for MessageContentType
impl RefUnwindSafe for MessageContentType
impl Send for MessageContentType
impl Sync for MessageContentType
impl Unpin for MessageContentType
impl UnwindSafe for MessageContentType
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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