pub enum SellResult {
Success {
total_value: u32,
},
Unsellable,
NotInBag,
InvalidItem,
}Expand description
Outcome of a sell attempt, reported by MartBackend::commit_sell.
Variants§
Trait Implementations§
Source§impl Clone for SellResult
impl Clone for SellResult
Source§fn clone(&self) -> SellResult
fn clone(&self) -> SellResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SellResult
Source§impl Debug for SellResult
impl Debug for SellResult
impl Eq for SellResult
Source§impl PartialEq for SellResult
impl PartialEq for SellResult
impl StructuralPartialEq for SellResult
Auto Trait Implementations§
impl Freeze for SellResult
impl RefUnwindSafe for SellResult
impl Send for SellResult
impl Sync for SellResult
impl Unpin for SellResult
impl UnsafeUnpin for SellResult
impl UnwindSafe for SellResult
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