Struct tether_utils::tether_topics::TopicOptions
source · pub struct TopicOptions {
pub topic: String,
pub sampler_interval: u64,
pub graph_enable: bool,
}Fields§
§topic: String§sampler_interval: u64Sampler interval, in milliseconds
graph_enable: boolWhether to print message rate and activity graph to the terminal; some terminals might break
Trait Implementations§
source§impl Args for TopicOptions
impl Args for TopicOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for TopicOptions
impl Clone for TopicOptions
source§fn clone(&self) -> TopicOptions
fn clone(&self) -> TopicOptions
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 moresource§impl Default for TopicOptions
impl Default for TopicOptions
source§impl FromArgMatches for TopicOptions
impl FromArgMatches for TopicOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for TopicOptions
impl RefUnwindSafe for TopicOptions
impl Send for TopicOptions
impl Sync for TopicOptions
impl Unpin for TopicOptions
impl UnwindSafe for TopicOptions
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