pub struct ScanRatings {
swap_columns: bool,
ratings_out: PathBuf,
infile: PathBuf,
}
Expand description
Scan an Amazon rating CSV file into Parquet.
Fields§
§swap_columns: bool
Swap user and item columns (for AZ 2018 data)
ratings_out: PathBuf
Rating output file
infile: PathBuf
Input file
Trait Implementations§
Source§impl Args for ScanRatings
impl Args for ScanRatings
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl Debug for ScanRatings
impl Debug for ScanRatings
Source§impl From<ScanRatings> for AmazonCommand
impl From<ScanRatings> for AmazonCommand
Source§fn from(v: ScanRatings) -> AmazonCommand
fn from(v: ScanRatings) -> AmazonCommand
Converts to this type from the input type.
Source§impl FromArgMatches for ScanRatings
impl FromArgMatches for ScanRatings
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
.Source§impl TryInto<ScanRatings> for AmazonCommand
impl TryInto<ScanRatings> for AmazonCommand
Auto Trait Implementations§
impl Freeze for ScanRatings
impl RefUnwindSafe for ScanRatings
impl Send for ScanRatings
impl Sync for ScanRatings
impl Unpin for ScanRatings
impl UnwindSafe for ScanRatings
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