pub struct FriendlyMetadata {
pub api_get_lib: String,
}Expand description
Friendly Captcha parameters.
Fields§
§api_get_lib: StringURL of the JS file, used to detect the captcha version.
V1: https://cdn.jsdelivr.net/npm/friendly-challenge@X.Y.Z/widget.module.min.js
(X.Y.Z is the client version from the x-frc-client header).
V2: URL of the site.min.js file loaded on the page, e.g.
https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@X.Y.Z/site.min.js.
Implementations§
Trait Implementations§
Source§impl Clone for FriendlyMetadata
impl Clone for FriendlyMetadata
Source§impl Debug for FriendlyMetadata
impl Debug for FriendlyMetadata
Auto Trait Implementations§
impl Freeze for FriendlyMetadata
impl RefUnwindSafe for FriendlyMetadata
impl Send for FriendlyMetadata
impl Sync for FriendlyMetadata
impl Unpin for FriendlyMetadata
impl UnsafeUnpin for FriendlyMetadata
impl UnwindSafe for FriendlyMetadata
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