Struct libmcaptcha::cache::messages::CachePoWBuilder
source · pub struct CachePoWBuilder { /* private fields */ }
Expand description
Builder for CachePoW
.
Implementations§
source§impl CachePoWBuilder
impl CachePoWBuilder
sourcepub fn difficulty_factor(&mut self, value: u32) -> &mut Self
pub fn difficulty_factor(&mut self, value: u32) -> &mut Self
Difficulty factor of mCaptcha at the time of minting this config
Trait Implementations§
source§impl Clone for CachePoWBuilder
impl Clone for CachePoWBuilder
source§fn clone(&self) -> CachePoWBuilder
fn clone(&self) -> CachePoWBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for CachePoWBuilder
impl Send for CachePoWBuilder
impl Sync for CachePoWBuilder
impl Unpin for CachePoWBuilder
impl UnwindSafe for CachePoWBuilder
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