pub struct StatementArgs {
pub statement: Option<String>,
pub stdin: bool,
pub params: Vec<String>,
}Expand description
A statement and the values bound to it.
Fields§
§statement: Option<String>The statement text; omit to read it from the standard input.
stdin: boolRead the statement from the standard input.
params: Vec<String>A value bound to a parameter marker; repeatable and positional in order.
Trait Implementations§
Source§impl Args for StatementArgs
impl Args for StatementArgs
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 StatementArgs
impl Clone for StatementArgs
Source§impl Debug for StatementArgs
impl Debug for StatementArgs
Source§impl FromArgMatches for StatementArgs
impl FromArgMatches for StatementArgs
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 StatementArgs
impl RefUnwindSafe for StatementArgs
impl Send for StatementArgs
impl Sync for StatementArgs
impl Unpin for StatementArgs
impl UnsafeUnpin for StatementArgs
impl UnwindSafe for StatementArgs
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