pub struct MethodCall<A, R> {
pub method: Method<A, R>,
pub required: bool,
pub op: Operation,
pub to: Address,
pub value: U256,
}
Fields§
§method: Method<A, R>
§required: bool
§op: Operation
§to: Address
§value: U256
Implementations§
Trait Implementations§
Source§impl<A: Clone, R: Clone> Clone for MethodCall<A, R>
impl<A: Clone, R: Clone> Clone for MethodCall<A, R>
Source§fn clone(&self) -> MethodCall<A, R>
fn clone(&self) -> MethodCall<A, R>
Returns a copy 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 moreimpl<A: Copy, R: Copy> Copy for MethodCall<A, R>
Auto Trait Implementations§
impl<A, R> Freeze for MethodCall<A, R>where
A: Freeze,
impl<A, R> RefUnwindSafe for MethodCall<A, R>where
A: RefUnwindSafe,
R: RefUnwindSafe,
impl<A, R> Send for MethodCall<A, R>
impl<A, R> Sync for MethodCall<A, R>
impl<A, R> Unpin for MethodCall<A, R>
impl<A, R> UnwindSafe for MethodCall<A, R>where
A: UnwindSafe,
R: UnwindSafe,
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