pub struct Captcha {
pub config_id: i32,
pub duration: i32,
pub description: String,
pub key: String,
}
Expand description
Data representing a captcha
Fields§
§config_id: i32
Database assigned ID
duration: i32
cool down duration
description: String
description of the captcha
key: String
secret key of the captcha
Trait Implementations§
source§impl<'de> Deserialize<'de> for Captcha
impl<'de> Deserialize<'de> for Captcha
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<Captcha> for Captcha
impl PartialEq<Captcha> for Captcha
impl StructuralPartialEq for Captcha
Auto Trait Implementations§
impl RefUnwindSafe for Captcha
impl Send for Captcha
impl Sync for Captcha
impl Unpin for Captcha
impl UnwindSafe for Captcha
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