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>,
}
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>
Implementations§
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
.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