pub struct OptionsBuilder { /* private fields */ }
Expand description
Builder for Options
.
Implementations§
Source§impl OptionsBuilder
impl OptionsBuilder
Sourcepub fn topic_pattern<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn topic_pattern<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Topic pattern for the telemetry message. Must align with topic-structure.md
Sourcepub fn topic_namespace<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn topic_namespace<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Optional Topic namespace to be prepended to the topic pattern
Trait Implementations§
Source§impl Clone for OptionsBuilder
impl Clone for OptionsBuilder
Source§fn clone(&self) -> OptionsBuilder
fn clone(&self) -> OptionsBuilder
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 moreAuto Trait Implementations§
impl Freeze for OptionsBuilder
impl RefUnwindSafe for OptionsBuilder
impl Send for OptionsBuilder
impl Sync for OptionsBuilder
impl Unpin for OptionsBuilder
impl UnwindSafe for OptionsBuilder
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