Trait url_bot_rs::plugins::TitlePlugin
source · [−]pub trait TitlePlugin {
fn name(&self) -> &'static str;
fn check(&self, config: &PluginConfig, url: &Url) -> bool;
fn evaluate(&self, rtd: &Rtd, url: &Url) -> Result<String, Error>;
}
Required methods
fn check(&self, config: &PluginConfig, url: &Url) -> bool
fn check(&self, config: &PluginConfig, url: &Url) -> bool
Check to see if the token is a viable candidate for running the plugin