[][src]Struct amq_protocol_codegen::AMQPMethod

pub struct AMQPMethod {
    pub id: ShortUInt,
    pub arguments: Vec<AMQPArgument>,
    pub name: String,
    pub synchronous: Boolean,
    pub content: Boolean,
    pub metadata: Value,
    pub is_reply: bool,
    pub ignore_args: bool,
    pub c2s: bool,
    pub s2c: bool,
}

A method as defined in the AMQP specification

Fields

id: ShortUInt

The id of the method

arguments: Vec<AMQPArgument>

The arguments of the method

name: String

The name of the method

synchronous: Boolean

Whether this method is synchronous or not

content: Boolean

Whether this method carries some content frames with it

metadata: Value

Extra metadata for code generation

is_reply: bool

Whether this method is a reply or not

ignore_args: bool

Whether all the arguments have force_default or not

c2s: bool

Whether this method can be sent from client to server

s2c: bool

Whether this method can be received from server to client

Trait Implementations

impl Clone for AMQPMethod[src]

impl Debug for AMQPMethod[src]

impl<'de> Deserialize<'de> for AMQPMethod[src]

impl PartialEq<AMQPMethod> for AMQPMethod[src]

impl Serialize for AMQPMethod[src]

impl StructuralPartialEq for AMQPMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.