pub struct MsgSwap {
pub ask_denom: String,
pub offer_coin: Coin,
pub trader: String,
}
Expand description
swap a coin, and send it to someone
Fields§
§ask_denom: String
§offer_coin: Coin
§trader: String
to account
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsgSwap
impl RefUnwindSafe for MsgSwap
impl Send for MsgSwap
impl Sync for MsgSwap
impl Unpin for MsgSwap
impl UnwindSafe for MsgSwap
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