pub struct ArbitrageOpportunity {
pub event_id: String,
pub home_team: String,
pub away_team: String,
pub bookmaker: String,
pub outcome1: String,
pub odds1: Decimal,
pub outcome2: String,
pub odds2: Decimal,
pub profit_margin: Decimal,
}Fields§
§event_id: String§home_team: String§away_team: String§bookmaker: String§outcome1: String§odds1: Decimal§outcome2: String§odds2: Decimal§profit_margin: DecimalTrait Implementations§
Source§impl Clone for ArbitrageOpportunity
impl Clone for ArbitrageOpportunity
Source§fn clone(&self) -> ArbitrageOpportunity
fn clone(&self) -> ArbitrageOpportunity
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 ArbitrageOpportunity
impl Debug for ArbitrageOpportunity
Auto Trait Implementations§
impl Freeze for ArbitrageOpportunity
impl RefUnwindSafe for ArbitrageOpportunity
impl Send for ArbitrageOpportunity
impl Sync for ArbitrageOpportunity
impl Unpin for ArbitrageOpportunity
impl UnwindSafe for ArbitrageOpportunity
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