pub struct SkillInvocationResult {
pub skill_id: String,
pub invocation_id: String,
pub output: Value,
pub settlement_tx: Option<String>,
pub amount_paid: u128,
pub completed_at: u64,
}Expand description
Result of using/invoking a skill
Fields§
§skill_id: StringThe skill that was invoked
invocation_id: StringInvocation identifier for tracking
output: ValueThe output payload returned by the skill
settlement_tx: Option<String>Settlement transaction hash (if payment was made)
amount_paid: u128Amount paid in atto-TNZO
completed_at: u64Unix timestamp when the invocation completed
Trait Implementations§
Source§impl Clone for SkillInvocationResult
impl Clone for SkillInvocationResult
Source§fn clone(&self) -> SkillInvocationResult
fn clone(&self) -> SkillInvocationResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillInvocationResult
impl Debug for SkillInvocationResult
Source§impl<'de> Deserialize<'de> for SkillInvocationResult
impl<'de> Deserialize<'de> for SkillInvocationResult
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
Auto Trait Implementations§
impl Freeze for SkillInvocationResult
impl RefUnwindSafe for SkillInvocationResult
impl Send for SkillInvocationResult
impl Sync for SkillInvocationResult
impl Unpin for SkillInvocationResult
impl UnsafeUnpin for SkillInvocationResult
impl UnwindSafe for SkillInvocationResult
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