pub struct PubCommandBuilder { /* private fields */ }Expand description
Builder for PubCommand.
Implementations§
Source§impl PubCommandBuilder
impl PubCommandBuilder
Sourcepub fn subject<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn subject<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The destination subject to publish to
Sourcepub fn reply_to(&mut self, value: Option<String>) -> &mut Self
pub fn reply_to(&mut self, value: Option<String>) -> &mut Self
The optional reply inbox subject that subscribers can use to send a response back to the publisher/requestor
Source§impl PubCommandBuilder
impl PubCommandBuilder
pub fn auto_reply_to(&mut self) -> &mut Self
Trait Implementations§
Source§impl Clone for PubCommandBuilder
impl Clone for PubCommandBuilder
Source§fn clone(&self) -> PubCommandBuilder
fn clone(&self) -> PubCommandBuilder
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 Default for PubCommandBuilder
impl Default for PubCommandBuilder
Source§fn default() -> PubCommandBuilder
fn default() -> PubCommandBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for PubCommandBuilder
impl RefUnwindSafe for PubCommandBuilder
impl Send for PubCommandBuilder
impl Sync for PubCommandBuilder
impl Unpin for PubCommandBuilder
impl UnwindSafe for PubCommandBuilder
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