pub struct PrepareInputV1 {Show 15 fields
pub abi: String,
pub step: String,
pub args: Value,
pub resources: BTreeMap<String, Value>,
pub params: Value,
pub instance: Option<InstanceInputV1>,
pub participant: Option<ParticipantInputV1>,
pub reads: BTreeMap<String, ReadInputV1>,
pub wallet: String,
pub execution_id: String,
pub ephemeral: BTreeMap<String, String>,
pub programs: BTreeMap<String, String>,
pub fee: Option<FeeContextV1>,
pub now: i64,
pub deployment: DeploymentInputV1,
}Expand description
What the API hands the host for one invocation. Every value is fixed by the API before dispatch; handlers have no clock, RPC or randomness.
Fields§
§abi: String§step: String§args: Value§resources: BTreeMap<String, Value>§params: Value§instance: Option<InstanceInputV1>§participant: Option<ParticipantInputV1>§reads: BTreeMap<String, ReadInputV1>§wallet: String§execution_id: String§ephemeral: BTreeMap<String, String>§programs: BTreeMap<String, String>§fee: Option<FeeContextV1>§now: i64Unix seconds, fixed for the whole invocation.
deployment: DeploymentInputV1The platform keys of the deployment the invocation runs under.
Trait Implementations§
Source§impl Clone for PrepareInputV1
impl Clone for PrepareInputV1
Source§impl Debug for PrepareInputV1
impl Debug for PrepareInputV1
Source§impl<'de> Deserialize<'de> for PrepareInputV1
impl<'de> Deserialize<'de> for PrepareInputV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PrepareInputV1
impl PartialEq for PrepareInputV1
Source§impl Serialize for PrepareInputV1
impl Serialize for PrepareInputV1
impl StructuralPartialEq for PrepareInputV1
Auto Trait Implementations§
impl Freeze for PrepareInputV1
impl RefUnwindSafe for PrepareInputV1
impl Send for PrepareInputV1
impl Sync for PrepareInputV1
impl Unpin for PrepareInputV1
impl UnsafeUnpin for PrepareInputV1
impl UnwindSafe for PrepareInputV1
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