Struct amq_protocol_codegen::AMQPProperty
source · pub struct AMQPProperty {
pub amqp_type: AMQPType,
pub name: ShortString,
}
Expand description
A property as defined in the AMQP specification
Fields
amqp_type: AMQPType
The type of the property
name: ShortString
The name of the property
Trait Implementations
sourceimpl Clone for AMQPProperty
impl Clone for AMQPProperty
sourcefn clone(&self) -> AMQPProperty
fn clone(&self) -> AMQPProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AMQPProperty
impl Debug for AMQPProperty
sourceimpl<'de> Deserialize<'de> for AMQPProperty
impl<'de> Deserialize<'de> for AMQPProperty
sourcefn 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
sourceimpl Named for AMQPProperty
impl Named for AMQPProperty
sourcefn camel_name(&self) -> String
fn camel_name(&self) -> String
Get the name converted to camel case
sourcefn snake_name(&self) -> String
fn snake_name(&self) -> String
Get the name converted to snake case
sourceimpl PartialEq<AMQPProperty> for AMQPProperty
impl PartialEq<AMQPProperty> for AMQPProperty
sourcefn eq(&self, other: &AMQPProperty) -> bool
fn eq(&self, other: &AMQPProperty) -> bool
sourceimpl Serialize for AMQPProperty
impl Serialize for AMQPProperty
impl StructuralPartialEq for AMQPProperty
Auto Trait Implementations
impl RefUnwindSafe for AMQPProperty
impl Send for AMQPProperty
impl Sync for AMQPProperty
impl Unpin for AMQPProperty
impl UnwindSafe for AMQPProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more