pub enum CostPaymentOutcome {
ResolveAbility,
EncoreKeep {
slot: u8,
},
}Expand description
Result to execute when staged cost payment finishes.
Variants§
ResolveAbility
Continue by resolving the originating ability.
EncoreKeep
Keep a character for encore by selecting the specified slot.
Trait Implementations§
Source§impl Clone for CostPaymentOutcome
impl Clone for CostPaymentOutcome
Source§fn clone(&self) -> CostPaymentOutcome
fn clone(&self) -> CostPaymentOutcome
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 CostPaymentOutcome
impl Debug for CostPaymentOutcome
Source§impl Default for CostPaymentOutcome
impl Default for CostPaymentOutcome
Source§fn default() -> CostPaymentOutcome
fn default() -> CostPaymentOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CostPaymentOutcome
impl<'de> Deserialize<'de> for CostPaymentOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CostPaymentOutcome
impl Hash for CostPaymentOutcome
Source§impl PartialEq for CostPaymentOutcome
impl PartialEq for CostPaymentOutcome
Source§impl Serialize for CostPaymentOutcome
impl Serialize for CostPaymentOutcome
impl Copy for CostPaymentOutcome
impl Eq for CostPaymentOutcome
impl StructuralPartialEq for CostPaymentOutcome
Auto Trait Implementations§
impl Freeze for CostPaymentOutcome
impl RefUnwindSafe for CostPaymentOutcome
impl Send for CostPaymentOutcome
impl Sync for CostPaymentOutcome
impl Unpin for CostPaymentOutcome
impl UnwindSafe for CostPaymentOutcome
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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