pub struct UserStats {
    pub is_high_priority: bool,
    pub all_time_validator_payments: U256,
    pub all_time_gas_simulated: U256,
    pub last_7d_validator_payments: U256,
    pub last_7d_gas_simulated: U256,
    pub last_1d_validator_payments: U256,
    pub last_1d_gas_simulated: U256,
}
Expand description

Represents stats for a searcher.

Fields§

§is_high_priority: bool

Whether the searcher is high priority or not.

§all_time_validator_payments: U256

The total amount of payments made to validators.

§all_time_gas_simulated: U256

The total amount of gas simulated in bundles.

§last_7d_validator_payments: U256

The total amount of payments made to validators in the last 7 days.

§last_7d_gas_simulated: U256

The total amount of gas simulated in bundles the last 7 days.

§last_1d_validator_payments: U256

The total amount of payments made to validators in the last day.

§last_1d_gas_simulated: U256

The total amount of gas simulated in bundles in the last day.

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more