pub struct EnumerationPayout {
pub outcome: String,
pub payout: Payout,
}Expand description
Representation of a payout for an enumeration outcome.
Fields§
§outcome: StringThe outcome value (prior to hashing)
payout: PayoutThe corresponding payout
Trait Implementations§
Source§impl Clone for EnumerationPayout
impl Clone for EnumerationPayout
Source§fn clone(&self) -> EnumerationPayout
fn clone(&self) -> EnumerationPayout
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 moreAuto Trait Implementations§
impl Freeze for EnumerationPayout
impl RefUnwindSafe for EnumerationPayout
impl Send for EnumerationPayout
impl Sync for EnumerationPayout
impl Unpin for EnumerationPayout
impl UnwindSafe for EnumerationPayout
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