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: usizelog ID
time: u32time taken to generate proof
difficulty_factor: u32difficulty factor for which the proof was generated
worker_type: Stringworker/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 duplicate 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 for PerformanceAnalytics
impl PartialEq for PerformanceAnalytics
Source§impl Serialize for PerformanceAnalytics
impl Serialize for PerformanceAnalytics
impl StructuralPartialEq for PerformanceAnalytics
Auto Trait Implementations§
impl Freeze for PerformanceAnalytics
impl RefUnwindSafe for PerformanceAnalytics
impl Send for PerformanceAnalytics
impl Sync for PerformanceAnalytics
impl Unpin for PerformanceAnalytics
impl UnwindSafe for PerformanceAnalytics
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