Enum rocketmq_remoting::protocol::SerializeType
source · #[repr(u8)]pub enum SerializeType {
JSON = 0,
ROCKETMQ = 1,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for SerializeType
impl Clone for SerializeType
source§fn clone(&self) -> SerializeType
fn clone(&self) -> SerializeType
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 Debug for SerializeType
impl Debug for SerializeType
source§impl<'de> Deserialize<'de> for SerializeType
impl<'de> Deserialize<'de> for SerializeType
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 SerializeType
impl PartialEq for SerializeType
source§fn eq(&self, other: &SerializeType) -> bool
fn eq(&self, other: &SerializeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SerializeType
impl Serialize for SerializeType
impl Copy for SerializeType
impl Eq for SerializeType
impl StructuralEq for SerializeType
impl StructuralPartialEq for SerializeType
Auto Trait Implementations§
impl RefUnwindSafe for SerializeType
impl Send for SerializeType
impl Sync for SerializeType
impl Unpin for SerializeType
impl UnwindSafe for SerializeType
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