Struct fuels_programs::script_calls::ScriptCall
source · pub struct ScriptCall {
pub script_binary: Vec<u8>,
pub encoded_args: UnresolvedBytes,
pub inputs: Vec<Input>,
pub outputs: Vec<Output>,
pub external_contracts: Vec<Bech32ContractId>,
pub call_parameters: CallParameters,
}Expand description
Contains all data relevant to a single script call
Fields§
§script_binary: Vec<u8>§encoded_args: UnresolvedBytes§inputs: Vec<Input>§outputs: Vec<Output>§external_contracts: Vec<Bech32ContractId>§call_parameters: CallParametersImplementations§
source§impl ScriptCall
impl ScriptCall
pub fn with_outputs(self, outputs: Vec<Output>) -> Self
pub fn with_inputs(self, inputs: Vec<Input>) -> Self
pub fn with_external_contracts(
self,
external_contracts: Vec<Bech32ContractId>
) -> ScriptCall
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ScriptCall
impl Send for ScriptCall
impl Sync for ScriptCall
impl Unpin for ScriptCall
impl UnwindSafe for ScriptCall
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere
T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any.