pub struct ConnectionOptions {
pub username: String,
pub password: String,
pub vhost: String,
pub frame_max: u32,
pub heartbeat: u16,
pub properties: ConnectionProperties,
}Fields§
§username: String§password: String§vhost: String§frame_max: u32§heartbeat: u16§properties: ConnectionPropertiesImplementations§
Source§impl ConnectionOptions
impl ConnectionOptions
pub fn from_uri( uri: AMQPUri, properties: ConnectionProperties, ) -> ConnectionOptions
Trait Implementations§
Source§impl Clone for ConnectionOptions
impl Clone for ConnectionOptions
Source§fn clone(&self) -> ConnectionOptions
fn clone(&self) -> ConnectionOptions
Returns a duplicate 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 ConnectionOptions
impl Debug for ConnectionOptions
Source§impl Default for ConnectionOptions
impl Default for ConnectionOptions
Source§fn default() -> ConnectionOptions
fn default() -> ConnectionOptions
Returns the “default value” for a type. Read more
Source§impl FromStr for ConnectionOptions
impl FromStr for ConnectionOptions
Source§impl PartialEq for ConnectionOptions
impl PartialEq for ConnectionOptions
impl StructuralPartialEq for ConnectionOptions
Auto Trait Implementations§
impl Freeze for ConnectionOptions
impl RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl UnwindSafe for ConnectionOptions
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