Struct amq_protocol_uri::AMQPAuthority
source · pub struct AMQPAuthority {
pub userinfo: AMQPUserInfo,
pub host: String,
pub port: u16,
}
Expand description
The connection information
Fields§
§userinfo: AMQPUserInfo
The credentials used to connect to the server
host: String
The server’s host
port: u16
The port the server listens on
Trait Implementations§
source§impl Clone for AMQPAuthority
impl Clone for AMQPAuthority
source§fn clone(&self) -> AMQPAuthority
fn clone(&self) -> AMQPAuthority
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 AMQPAuthority
impl Debug for AMQPAuthority
source§impl Default for AMQPAuthority
impl Default for AMQPAuthority
source§impl PartialEq for AMQPAuthority
impl PartialEq for AMQPAuthority
source§fn eq(&self, other: &AMQPAuthority) -> bool
fn eq(&self, other: &AMQPAuthority) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AMQPAuthority
impl StructuralPartialEq for AMQPAuthority
Auto Trait Implementations§
impl Freeze for AMQPAuthority
impl RefUnwindSafe for AMQPAuthority
impl Send for AMQPAuthority
impl Sync for AMQPAuthority
impl Unpin for AMQPAuthority
impl UnwindSafe for AMQPAuthority
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