pub struct JoinArgs {
pub left: PathBuf,
pub right: PathBuf,
pub output: Option<PathBuf>,
pub left_key: String,
pub right_key: String,
pub kind: JoinKind,
pub left_schema: Option<PathBuf>,
pub right_schema: Option<PathBuf>,
pub delimiter: Option<u8>,
pub left_encoding: Option<String>,
pub right_encoding: Option<String>,
pub output_encoding: Option<String>,
}Fields§
§left: PathBufLeft CSV input
right: PathBufRight CSV input
output: Option<PathBuf>Output CSV file (stdout if omitted)
left_key: StringComma-separated key columns from the left file
right_key: StringComma-separated key columns from the right file
kind: JoinKindJoin type (inner, left, right, full)
left_schema: Option<PathBuf>Schema for the left file
right_schema: Option<PathBuf>Schema for the right file
delimiter: Option<u8>CSV delimiter character for inputs
left_encoding: Option<String>Character encoding for the left input file (defaults to utf-8)
right_encoding: Option<String>Character encoding for the right input file (defaults to utf-8)
output_encoding: Option<String>Character encoding for the output file/stdout (defaults to utf-8)
Trait Implementations§
Source§impl Args for JoinArgs
impl Args for JoinArgs
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 FromArgMatches for JoinArgs
impl FromArgMatches for JoinArgs
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 JoinArgs
impl RefUnwindSafe for JoinArgs
impl Send for JoinArgs
impl Sync for JoinArgs
impl Unpin for JoinArgs
impl UnwindSafe for JoinArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more