#[non_exhaustive]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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SpotSend(SpotSend)
spotSend, for an account that keeps spot apart.
SendAsset(SendAsset)
sendAsset from spot to spot, for a pooled account or one whose mode is not known.
Implementations§
Trait Implementations§
impl Eq for SpotOut
impl StructuralPartialEq for SpotOut
Source§impl UserAction for SpotOut
impl UserAction for SpotOut
Source§fn user_signed(&self) -> UserSigned<'_>
fn user_signed(&self) -> UserSigned<'_>
The action’s type, EIP-712 name, fields and nonce.
Source§fn action(&self, network: Network) -> Map
fn action(&self, network: Network) -> Map
UserSigned::action: the action as posted on network.Source§fn typed(&self, network: Network) -> TypedStruct<'_>
fn typed(&self, network: Network) -> TypedStruct<'_>
UserSigned::typed: the struct the key signs.Source§fn wallet_json(&self, network: Network) -> String
fn wallet_json(&self, network: Network) -> String
UserSigned::wallet_json: the typed data for a browser wallet.Auto Trait Implementations§
impl Forget for SpotOut
impl Freeze for SpotOut
impl Move 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.