pub struct JoinConfig {Show 14 fields
pub field1: usize,
pub field2: usize,
pub print_unpaired1: bool,
pub print_unpaired2: bool,
pub only_unpaired1: bool,
pub only_unpaired2: bool,
pub empty_filler: Option<Vec<u8>>,
pub case_insensitive: bool,
pub output_format: Option<Vec<OutputSpec>>,
pub auto_format: bool,
pub separator: Option<u8>,
pub order_check: OrderCheck,
pub header: bool,
pub zero_terminated: bool,
}Expand description
Configuration for the join command.
Fields§
§field1: usizeJoin field for file 1 (0-indexed)
field2: usizeJoin field for file 2 (0-indexed)
print_unpaired1: boolAlso print unpairable lines from file 1 (-a 1)
print_unpaired2: boolAlso print unpairable lines from file 2 (-a 2)
only_unpaired1: boolPrint ONLY unpairable lines from file 1 (-v 1)
only_unpaired2: boolPrint ONLY unpairable lines from file 2 (-v 2)
empty_filler: Option<Vec<u8>>Replace missing fields with this string (-e)
case_insensitive: boolIgnore case in key comparison (-i)
output_format: Option<Vec<OutputSpec>>Output format (-o)
auto_format: boolAuto output format (-o auto)
separator: Option<u8>Field separator (-t). None = whitespace mode.
order_check: OrderCheckOrder checking
header: boolTreat first line as header (–header)
zero_terminated: boolUse NUL as line delimiter (-z)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinConfig
impl RefUnwindSafe for JoinConfig
impl Send for JoinConfig
impl Sync for JoinConfig
impl Unpin for JoinConfig
impl UnsafeUnpin for JoinConfig
impl UnwindSafe for JoinConfig
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