Struct bookdata::cli::amazon::scan_ratings::ScanRatings
source · 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 group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§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
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 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