pub struct MCaptcha { /* private fields */ }
Expand description
API Client class
Implementations§
Source§impl MCaptcha
impl MCaptcha
Sourcepub fn new<T: Into<String>>(
sitekey: T,
account_secret: T,
instance_url: Url,
) -> Self
pub fn new<T: Into<String>>( sitekey: T, account_secret: T, instance_url: Url, ) -> Self
Create new instance of API client
Parameters:
sitekey
: unique identifier of captcha configuration. Available on mCaptcha dashboard.account_secret
: used for authentication. Available on the settings page of mCaptcha dashboardinstance_url
: the URL of your mCaptcha instance
Auto Trait Implementations§
impl Freeze for MCaptcha
impl !RefUnwindSafe for MCaptcha
impl Send for MCaptcha
impl Sync for MCaptcha
impl Unpin for MCaptcha
impl !UnwindSafe for MCaptcha
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