pub enum ExchangeSide {
This,
Other,
}Expand description
Inventory to which an ExchangeError applies, relative to the method call.
Variants§
This
The inventory on which the method was called (the source of a transfer).
Other
The other inventory (the destination of a transfer).
Trait Implementations§
Source§impl Clone for ExchangeSide
impl Clone for ExchangeSide
Source§fn clone(&self) -> ExchangeSide
fn clone(&self) -> ExchangeSide
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 ExchangeSide
impl Debug for ExchangeSide
Source§impl PartialEq for ExchangeSide
impl PartialEq for ExchangeSide
impl Copy for ExchangeSide
impl Eq for ExchangeSide
impl StructuralPartialEq for ExchangeSide
Auto Trait Implementations§
impl Freeze for ExchangeSide
impl RefUnwindSafe for ExchangeSide
impl Send for ExchangeSide
impl Sync for ExchangeSide
impl Unpin for ExchangeSide
impl UnwindSafe for ExchangeSide
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