Struct db_core::EasyCaptcha
source · pub struct EasyCaptcha {
pub traffic_pattern: TrafficPattern,
pub key: String,
pub description: String,
pub username: String,
}
Expand description
Represents Easy captcha configuration
Fields§
§traffic_pattern: TrafficPattern
traffic pattern of easy captcha
key: String
captcha key/sitekey
description: String
captcha description
username: String
Owner of the captcha configuration
Trait Implementations§
source§impl Clone for EasyCaptcha
impl Clone for EasyCaptcha
source§fn clone(&self) -> EasyCaptcha
fn clone(&self) -> EasyCaptcha
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EasyCaptcha
impl Debug for EasyCaptcha
source§impl Default for EasyCaptcha
impl Default for EasyCaptcha
source§fn default() -> EasyCaptcha
fn default() -> EasyCaptcha
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EasyCaptcha
impl<'de> Deserialize<'de> for EasyCaptcha
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EasyCaptcha
impl PartialEq for EasyCaptcha
source§fn eq(&self, other: &EasyCaptcha) -> bool
fn eq(&self, other: &EasyCaptcha) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EasyCaptcha
impl Serialize for EasyCaptcha
impl StructuralPartialEq for EasyCaptcha
Auto Trait Implementations§
impl RefUnwindSafe for EasyCaptcha
impl Send for EasyCaptcha
impl Sync for EasyCaptcha
impl Unpin for EasyCaptcha
impl UnwindSafe for EasyCaptcha
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