Struct cache::mcaptcha::MCaptcha[][src]

pub struct MCaptcha {
    m: MCaptcha,
}

Fields

m: MCaptcha

Implementations

increments the visitor count by one

decrements the visitor count by one

get current difficulty factor

get MCaptcha’s lifetime

get MCaptcha’s current visitor_threshold

decrement MCaptcha’s current visitor_threshold by specified count

get mcaptcha from redis key writable

get mcaptcha from redis key

Get counter value

Add captcha to redis

check if captcha exists

implements mCaptcha rename: clones configuration from old name to new name and deletes oldname

delete captcha

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.