pub struct Call {
pub space: Space,
pub from: Address,
pub to: Address,
pub value: U256,
pub gas: U256,
pub input: Bytes,
pub call_type: CallType,
}
Expand description
Description of a call action, either a CALL
operation or a message
transaction.
Fields§
§space: Space
The space
from: Address
The sending account.
to: Address
The destination account.
value: U256
The value transferred to the destination account.
gas: U256
The gas available for executing the call.
input: Bytes
The input data provided to the call.
call_type: CallType
The type of the call.
Implementations§
Trait Implementations§
Source§impl From<ActionParams> for Call
impl From<ActionParams> for Call
Source§fn from(p: ActionParams) -> Self
fn from(p: ActionParams) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
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