pub fn tokens(&self) -> Vec<AccountId> {
        match self {
            Action::Swap(swap_action) => {
                vec![swap_action.token_in.clone(), swap_action.token_out.clone()]
            }
        }
    }
/// Returns involved tokens in this action. Useful for checking permissions and storage.
Returns involved tokens in this action. Useful for checking permissions and storage.
Returns involved tokens in this action . Useful for checking permissions and storage .
pub fn tokens(&self) -> Vec<AccountId> {
        match self {
            Action::Swap(swap_action) => {
                vec![swap_action.token_in.clone(), swap_action.token_out.clone()]
            }
        }
    }
pub fn tokens ( & self ) -> Vec < AccountId > { match self { Action :: Swap ( swap_action ) => { vec ! [ swap_action token_in clone ( ) swap_action token_out clone ( ) ] } } }
Returns involved tokens in this action.
Returns involved tokens in this action .
&self
&self