Struct amq_protocol_codegen::AMQPConstant
source · pub struct AMQPConstant {
pub name: String,
pub value: LongUInt,
pub amqp_type: AMQPType,
}
Expand description
A constant as defined in the AMQP specification
Fields§
§name: String
The name of the constant
value: LongUInt
The value of the constant
amqp_type: AMQPType
The type of the constant
Trait Implementations§
source§impl Clone for AMQPConstant
impl Clone for AMQPConstant
source§fn clone(&self) -> AMQPConstant
fn clone(&self) -> AMQPConstant
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 AMQPConstant
impl Debug for AMQPConstant
source§impl<'de> Deserialize<'de> for AMQPConstant
impl<'de> Deserialize<'de> for AMQPConstant
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 AMQPConstant
impl PartialEq for AMQPConstant
source§fn eq(&self, other: &AMQPConstant) -> bool
fn eq(&self, other: &AMQPConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AMQPConstant
impl Serialize for AMQPConstant
impl StructuralPartialEq for AMQPConstant
Auto Trait Implementations§
impl Freeze for AMQPConstant
impl RefUnwindSafe for AMQPConstant
impl Send for AMQPConstant
impl Sync for AMQPConstant
impl Unpin for AMQPConstant
impl UnwindSafe for AMQPConstant
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