pub fn is_color(&self, color: &str) -> bool {
        if let Some(description_color) = &self.color {
            description_color.eq_ignore_ascii_case(color)
        } else {
            false
        }
    }
/// Checks if description color matches string.
Checks if description color matches string.
Checks if description color matches string .
pub fn is_color(&self, color: &str) -> bool {
        if let Some(description_color) = &self.color {
            description_color.eq_ignore_ascii_case(color)
        } else {
            false
        }
    }
pub fn is_color ( & self , color : & str ) -> bool { if let Some ( description_color ) = & self . color { description_color . eq_ignore_ascii_case ( color ) } else { false } }
Checks if description color matches string.
Checks if description color matches string .
&self
color
&str
&self
color
&str