Struct mcaptcha::settings::DefaultDifficultyStrategy [−][src]
pub struct DefaultDifficultyStrategy {
pub avg_traffic_difficulty: u32,
pub broke_my_site_traffic_difficulty: u32,
pub peak_sustainable_traffic_difficulty: u32,
pub duration: u32,
}
Fields
avg_traffic_difficulty: u32
broke_my_site_traffic_difficulty: u32
peak_sustainable_traffic_difficulty: u32
duration: u32
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for DefaultDifficultyStrategy
impl Send for DefaultDifficultyStrategy
impl Sync for DefaultDifficultyStrategy
impl Unpin for DefaultDifficultyStrategy
impl UnwindSafe for DefaultDifficultyStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more