pub struct PlanFragment {
pub calls: Vec<Call>,
pub approvals: Vec<TokenApproval>,
pub value: U256,
}Expand description
Output of a plan function: a bundle of calls + declared approvals + value.
Family-agnostic. Composer (L5) aggregates PlanFragments from multiple
protocol facades into a single ComposedTx.
Fields§
§calls: Vec<Call>§approvals: Vec<TokenApproval>§value: U256Trait Implementations§
Source§impl Clone for PlanFragment
impl Clone for PlanFragment
Source§fn clone(&self) -> PlanFragment
fn clone(&self) -> PlanFragment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlanFragment
impl Debug for PlanFragment
Source§impl Default for PlanFragment
impl Default for PlanFragment
Source§fn default() -> PlanFragment
fn default() -> PlanFragment
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlanFragment
impl PartialEq for PlanFragment
Source§fn eq(&self, other: &PlanFragment) -> bool
fn eq(&self, other: &PlanFragment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PlanFragment
impl StructuralPartialEq for PlanFragment
Auto Trait Implementations§
impl Freeze for PlanFragment
impl RefUnwindSafe for PlanFragment
impl Send for PlanFragment
impl Sync for PlanFragment
impl Unpin for PlanFragment
impl UnsafeUnpin for PlanFragment
impl UnwindSafe for PlanFragment
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