pub struct OutputArgs {
pub file_output: Option<PathBuf>,
pub http_output: Option<String>,
pub https_output: Option<String>,
pub stdout_output: bool,
pub tcp_output: Option<String>,
pub tls_output: Option<String>,
pub udp_output: Option<String>,
}Expand description
Choose one or more output destinations
Fields§
§file_output: Option<PathBuf>write data to a file
http_output: Option<String>write data to an HTTP URL; requires http-output-rate and optionally http-output-delimiter and http-output-include-delimiter
https_output: Option<String>write data to a HTTPS URL; requires https-output-rate and optionally https-output-delimiter, https-output-include-delimiter, and custom server / client certificates
stdout_output: boolwrite data to STDOUT
tcp_output: Option<String>write data to a TCP address
tls_output: Option<String>write data to a TLS URL; may need to configure server and client certificates
udp_output: Option<String>write data to UDP address
Trait Implementations§
Source§impl Args for OutputArgs
impl Args for OutputArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for OutputArgs
impl Clone for OutputArgs
Source§fn clone(&self) -> OutputArgs
fn clone(&self) -> OutputArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputArgs
impl Debug for OutputArgs
Source§impl FromArgMatches for OutputArgs
impl FromArgMatches for OutputArgs
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 OutputArgs
impl RefUnwindSafe for OutputArgs
impl Send for OutputArgs
impl Sync for OutputArgs
impl Unpin for OutputArgs
impl UnsafeUnpin for OutputArgs
impl UnwindSafe for OutputArgs
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