Struct amq_protocol::frame::ProtocolVersion
source · pub struct ProtocolVersion {
pub major: ShortShortUInt,
pub minor: ShortShortUInt,
pub revision: ShortShortUInt,
}Expand description
Protocol version used
Fields§
§major: ShortShortUIntMajor version of the protocol
minor: ShortShortUIntMinor version of the protocol
revision: ShortShortUIntRevision of the protocol
Implementations§
source§impl ProtocolVersion
impl ProtocolVersion
sourcepub fn amqp_0_9_1() -> Self
pub fn amqp_0_9_1() -> Self
AMQP 0.9.1
Trait Implementations§
source§impl Clone for ProtocolVersion
impl Clone for ProtocolVersion
source§fn clone(&self) -> ProtocolVersion
fn clone(&self) -> ProtocolVersion
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 ProtocolVersion
impl Debug for ProtocolVersion
source§impl Display for ProtocolVersion
impl Display for ProtocolVersion
source§impl PartialEq for ProtocolVersion
impl PartialEq for ProtocolVersion
impl Copy for ProtocolVersion
impl Eq for ProtocolVersion
impl StructuralPartialEq for ProtocolVersion
Auto Trait Implementations§
impl Freeze for ProtocolVersion
impl RefUnwindSafe for ProtocolVersion
impl Send for ProtocolVersion
impl Sync for ProtocolVersion
impl Unpin for ProtocolVersion
impl UnwindSafe for ProtocolVersion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)