pub struct ProfitRecord {
pub id: i64,
pub tx_hash: String,
pub chain_id: i64,
pub strategy: String,
pub profit_eth: f64,
pub gas_cost_eth: f64,
pub net_profit_eth: f64,
pub timestamp: NaiveDateTime,
}Fields§
§id: i64§tx_hash: String§chain_id: i64§strategy: String§profit_eth: f64§gas_cost_eth: f64§net_profit_eth: f64§timestamp: NaiveDateTimeTrait Implementations§
Source§impl Debug for ProfitRecord
impl Debug for ProfitRecord
Source§impl<'a, R: Row> FromRow<'a, R> for ProfitRecord
impl<'a, R: Row> FromRow<'a, R> for ProfitRecord
Auto Trait Implementations§
impl Freeze for ProfitRecord
impl RefUnwindSafe for ProfitRecord
impl Send for ProfitRecord
impl Sync for ProfitRecord
impl Unpin for ProfitRecord
impl UnwindSafe for ProfitRecord
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more