pub enum AmqpPayloadKind {
Contract(AmqpContractMeta),
Channel(AmqpChannelMeta),
Operation(AmqpOperationMeta),
Message(AmqpMessageMeta),
}Expand description
Decoded AMQP payload oneof arm.
Variants§
Contract(AmqpContractMeta)
Contract-level metadata.
Channel(AmqpChannelMeta)
Channel metadata.
Operation(AmqpOperationMeta)
Operation metadata.
Message(AmqpMessageMeta)
Message metadata.
Trait Implementations§
Source§impl Clone for AmqpPayloadKind
impl Clone for AmqpPayloadKind
Source§fn clone(&self) -> AmqpPayloadKind
fn clone(&self) -> AmqpPayloadKind
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 AmqpPayloadKind
impl Debug for AmqpPayloadKind
Source§impl PartialEq for AmqpPayloadKind
impl PartialEq for AmqpPayloadKind
Source§fn eq(&self, other: &AmqpPayloadKind) -> bool
fn eq(&self, other: &AmqpPayloadKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AmqpPayloadKind
Auto Trait Implementations§
impl Freeze for AmqpPayloadKind
impl RefUnwindSafe for AmqpPayloadKind
impl Send for AmqpPayloadKind
impl Sync for AmqpPayloadKind
impl Unpin for AmqpPayloadKind
impl UnsafeUnpin for AmqpPayloadKind
impl UnwindSafe for AmqpPayloadKind
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