fn flag_rating(&mut self, rating: &Rating, post: &PostEntry, negated: bool) {
        match (rating, post.rating.as_str()) {
            (Rating::Safe, "s") | (Rating::Questionable, "q") | (Rating::Explicit, "e") => {
                self.raise_flag(negated);
            }
            (_, _) => {}
        }
    }
/// Flags post based on blacklisted rating.
Flags post based on blacklisted rating.
Flags post based on blacklisted rating .
fn flag_rating(&mut self, rating: &Rating, post: &PostEntry, negated: bool) {
        match (rating, post.rating.as_str()) {
            (Rating::Safe, "s") | (Rating::Questionable, "q") | (Rating::Explicit, "e") => {
                self.raise_flag(negated);
            }
            (_, _) => {}
        }
    }
fn flag_rating ( & mut self , rating : & Rating , post : & PostEntry , negated : bool ) { match ( rating , post . rating . as_str ( ) ) { ( Rating :: Safe , " " ) | ( Rating :: Questionable , " " ) | ( Rating :: Explicit , " " ) => { self . raise_flag ( negated ) ; } ( _ , _ ) => { } } }
Flags post based on blacklisted rating.
Flags post based on blacklisted rating .
&mut self
rating
&Rating
post
&PostEntry
negated
bool
&mut self
rating
&Rating
post
&PostEntry
negated
bool