pub enum SpotOut {
SpotSend(SpotSend),
SendAsset(SendAsset),
}Expand description
A spot token out of the account: spotSend for a separate account, and sendAsset from spot
to spot for a pooled one (which refuses spotSend) or one whose mode is not known (every kind
takes it). Either goes to a person, or through a system address to HyperEVM.
Variants§
Implementations§
Trait Implementations§
impl Eq for SpotOut
impl StructuralPartialEq for SpotOut
Source§impl UserAction for SpotOut
impl UserAction for SpotOut
fn user_signed(&self) -> UserSigned<'_>
fn nonce(&self) -> u64
fn action(&self, network: Network) -> Map
fn wire(&self, network: Network) -> String
fn typed(&self, network: Network) -> TypedStruct<'_>
fn digest(&self, network: Network) -> [u8; 32]
fn wallet_json(&self, network: Network) -> String
fn body(&self, signature: &Signature, network: Network) -> String
Auto Trait Implementations§
impl Freeze for SpotOut
impl RefUnwindSafe for SpotOut
impl Send for SpotOut
impl Sync for SpotOut
impl Unpin for SpotOut
impl UnsafeUnpin for SpotOut
impl UnwindSafe for SpotOut
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.