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