Struct db_core::PerformanceAnalytics
source · pub struct PerformanceAnalytics {
pub id: usize,
pub time: u32,
pub difficulty_factor: u32,
pub worker_type: String,
}
Expand description
Proof-of-Work CAPTCHA performance analytics
Fields§
§id: usize
log ID
time: u32
time taken to generate proof
difficulty_factor: u32
difficulty factor for which the proof was generated
worker_type: String
worker/client type: wasm, javascript, python, etc.
Trait Implementations§
source§impl Clone for PerformanceAnalytics
impl Clone for PerformanceAnalytics
source§fn clone(&self) -> PerformanceAnalytics
fn clone(&self) -> PerformanceAnalytics
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 PerformanceAnalytics
impl Debug for PerformanceAnalytics
source§impl Default for PerformanceAnalytics
impl Default for PerformanceAnalytics
source§fn default() -> PerformanceAnalytics
fn default() -> PerformanceAnalytics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PerformanceAnalytics
impl<'de> Deserialize<'de> for PerformanceAnalytics
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
source§impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics
impl PartialEq<PerformanceAnalytics> for PerformanceAnalytics
source§fn eq(&self, other: &PerformanceAnalytics) -> bool
fn eq(&self, other: &PerformanceAnalytics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.