pub struct BundleAction {
pub protocol: String,
pub action: String,
pub args: Value,
}Expand description
Bundle action for multi-step transactions
Fields§
§protocol: StringProtocol to interact with
action: StringAction type (swap, deposit, withdraw, etc.)
args: ValueAction arguments (protocol-specific)
Implementations§
Trait Implementations§
Source§impl Clone for BundleAction
impl Clone for BundleAction
Source§fn clone(&self) -> BundleAction
fn clone(&self) -> BundleAction
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 BundleAction
impl Debug for BundleAction
Auto Trait Implementations§
impl Freeze for BundleAction
impl RefUnwindSafe for BundleAction
impl Send for BundleAction
impl Sync for BundleAction
impl Unpin for BundleAction
impl UnwindSafe for BundleAction
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