pub struct PoW {
pub get_config: &'static str,
pub verify_pow: &'static str,
pub validate_captcha_token: &'static str,
pub scope: &'static str,
}
Fields§
§get_config: &'static str
§verify_pow: &'static str
§validate_captcha_token: &'static str
§scope: &'static str
Implementations§
source§impl PoW
impl PoW
pub const fn new() -> Self
sourcepub fn get_config(&self) -> &str
pub fn get_config(&self) -> &str
remove scope for $name route
sourcepub fn verify_pow(&self) -> &str
pub fn verify_pow(&self) -> &str
remove scope for $name route
sourcepub fn validate_captcha_token(&self) -> &str
pub fn validate_captcha_token(&self) -> &str
remove scope for $name route