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
Auto Trait Implementations§
impl RefUnwindSafe for PoW
impl Send for PoW
impl Sync for PoW
impl Unpin for PoW
impl UnwindSafe for PoW
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