pub struct RabbitMQConfig {
pub actor_name: String,
pub uri: String,
pub exchange: String,
pub monitor_tcp_replies: bool,
}Expand description
Configuration options for the RabbitMQ service.
Fields§
§actor_name: StringActor name
uri: StringThe RabbitMQ server URL.
exchange: StringThe exchange to publish messages to.
monitor_tcp_replies: boolWhether to monitor TCP replies and publish them to RabbitMQ.
Implementations§
Trait Implementations§
Source§impl Clone for RabbitMQConfig
impl Clone for RabbitMQConfig
Source§fn clone(&self) -> RabbitMQConfig
fn clone(&self) -> RabbitMQConfig
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 moreAuto Trait Implementations§
impl Freeze for RabbitMQConfig
impl RefUnwindSafe for RabbitMQConfig
impl Send for RabbitMQConfig
impl Sync for RabbitMQConfig
impl Unpin for RabbitMQConfig
impl UnwindSafe for RabbitMQConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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