pub struct ClusterRatings {
ratings_out: PathBuf,
infile: PathBuf,
}
Expand description
Group Amazon ratings into clusters.
Fields§
§ratings_out: PathBuf
Rating output file
infile: PathBuf
Input file to cluster
Trait Implementations§
Source§impl Args for ClusterRatings
impl Args for ClusterRatings
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 Command for ClusterRatings
impl Command for ClusterRatings
Source§impl Debug for ClusterRatings
impl Debug for ClusterRatings
Source§impl From<ClusterRatings> for AmazonCommand
impl From<ClusterRatings> for AmazonCommand
Source§fn from(v: ClusterRatings) -> AmazonCommand
fn from(v: ClusterRatings) -> AmazonCommand
Converts to this type from the input type.
Source§impl FromArgMatches for ClusterRatings
impl FromArgMatches for ClusterRatings
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<ClusterRatings> for AmazonCommand
impl TryInto<ClusterRatings> for AmazonCommand
Auto Trait Implementations§
impl Freeze for ClusterRatings
impl RefUnwindSafe for ClusterRatings
impl Send for ClusterRatings
impl Sync for ClusterRatings
impl Unpin for ClusterRatings
impl UnwindSafe for ClusterRatings
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