Hcaptcha

Trait Hcaptcha 

Source
pub trait Hcaptcha {
    // Required method
    fn valid_response(
        &self,
        secret: &str,
        uri: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send>>;
}
Expand description

Hcaptcha trait

Required Methods§

Source

fn valid_response( &self, secret: &str, uri: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send>>

valid response function

Implementors§