pub struct PayoutPoint {
pub event_outcome: u64,
pub outcome_payout: Amount,
pub extra_precision: u16,
}Expand description
A point on a payout curve.
Fields§
§event_outcome: u64The event outcome for this point (X coordinate).
outcome_payout: AmountThe payout for this point (Y coordinate).
extra_precision: u16Extra precision to be applied when computing the payout.
Trait Implementations§
Source§impl Clone for PayoutPoint
impl Clone for PayoutPoint
Source§fn clone(&self) -> PayoutPoint
fn clone(&self) -> PayoutPoint
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 PayoutPoint
impl Debug for PayoutPoint
Source§impl PartialEq for PayoutPoint
impl PartialEq for PayoutPoint
Source§impl Readable for PayoutPoint
impl Readable for PayoutPoint
Source§impl Writeable for PayoutPoint
impl Writeable for PayoutPoint
impl Eq for PayoutPoint
impl StructuralPartialEq for PayoutPoint
Auto Trait Implementations§
impl Freeze for PayoutPoint
impl RefUnwindSafe for PayoutPoint
impl Send for PayoutPoint
impl Sync for PayoutPoint
impl Unpin for PayoutPoint
impl UnwindSafe for PayoutPoint
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