Struct nitox::commands::PubCommandBuilder
source · pub struct PubCommandBuilder { /* private fields */ }Expand description
Builder for PubCommand.
Implementations
sourceimpl 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
sourceimpl PubCommandBuilder
impl PubCommandBuilder
pub fn auto_reply_to(&mut self) -> &mut Self
Trait Implementations
sourceimpl Clone for PubCommandBuilder
impl Clone for PubCommandBuilder
sourcefn clone(&self) -> PubCommandBuilder
fn clone(&self) -> PubCommandBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Default for PubCommandBuilder
impl Default for PubCommandBuilder
sourcefn default() -> PubCommandBuilder
fn default() -> PubCommandBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PubCommandBuilder
impl Send for PubCommandBuilder
impl Sync for PubCommandBuilder
impl Unpin for PubCommandBuilder
impl UnwindSafe for PubCommandBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more