Struct mcaptcha::api::v1::pow::get_config::ApiPoWConfig
source · pub struct ApiPoWConfig {
pub string: String,
pub difficulty_factor: u32,
pub salt: String,
pub max_recorded_nonce: u32,
}
Fields§
§string: String
§difficulty_factor: u32
§salt: String
§max_recorded_nonce: u32
Trait Implementations§
source§impl Clone for ApiPoWConfig
impl Clone for ApiPoWConfig
source§fn clone(&self) -> ApiPoWConfig
fn clone(&self) -> ApiPoWConfig
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 moresource§impl Debug for ApiPoWConfig
impl Debug for ApiPoWConfig
source§impl<'de> Deserialize<'de> for ApiPoWConfig
impl<'de> Deserialize<'de> for ApiPoWConfig
source§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 ApiPoWConfig
impl Send for ApiPoWConfig
impl Sync for ApiPoWConfig
impl Unpin for ApiPoWConfig
impl UnwindSafe for ApiPoWConfig
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