pub struct PityOffer { /* private fields */ }Expand description
A reward owed, retaining its original natural/guaranteed reason on retry. The host must retain the corresponding reward payload until settlement/reset.
Implementations§
Source§impl PityOffer
impl PityOffer
pub fn id(self) -> PityOfferId
Sourcepub fn outcome(self) -> PityOutcome
pub fn outcome(self) -> PityOutcome
Always PityOutcome::Natural or PityOutcome::Guaranteed.
Trait Implementations§
impl Copy for PityOffer
impl Eq for PityOffer
impl StructuralPartialEq for PityOffer
Auto Trait Implementations§
impl Freeze for PityOffer
impl RefUnwindSafe for PityOffer
impl Send for PityOffer
impl Sync for PityOffer
impl Unpin for PityOffer
impl UnwindSafe for PityOffer
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