pub struct AMQProtocolDefinition {
pub name: String,
pub major_version: u8,
pub minor_version: u8,
pub revision: u8,
pub port: u32,
pub copyright: String,
pub domains: BTreeMap<String, AMQPType>,
pub constants: Vec<AMQPConstant>,
pub soft_errors: Vec<AMQPConstant>,
pub hard_errors: Vec<AMQPConstant>,
pub classes: Vec<AMQPClass>,
}
Structure holding the definition of the protocol
The major protocol version
The minor protocol version
The revision of the protocol version
The default port of the protocol
The copyright holder of the protocol specification
domains: BTreeMap<String, AMQPType>
The domains defined by the protocol specification
The constants defined by the protocol specification
The soft errors defined by the protocol specification
The hard errors defined by the protocol specification
The classes defined by the protocol specification
Load protocol definition from reference specification
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more
Get the name converted to camel case
Get the name converted to snake case
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static