pub struct RecordedExternal {
pub name: String,
pub args: Vec<Value>,
pub result: Value,
}Expand description
One recorded external-function result, captured in call order during a live run.
Fields§
§name: StringThe ink-declared external name.
args: Vec<Value>Arguments passed, in declaration order.
result: ValueThe value the external returned.
Trait Implementations§
Source§impl Clone for RecordedExternal
impl Clone for RecordedExternal
Source§fn clone(&self) -> RecordedExternal
fn clone(&self) -> RecordedExternal
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 RecordedExternal
impl Debug for RecordedExternal
Source§impl PartialEq for RecordedExternal
impl PartialEq for RecordedExternal
Source§fn eq(&self, other: &RecordedExternal) -> bool
fn eq(&self, other: &RecordedExternal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordedExternal
Auto Trait Implementations§
impl Freeze for RecordedExternal
impl RefUnwindSafe for RecordedExternal
impl Send for RecordedExternal
impl Sync for RecordedExternal
impl Unpin for RecordedExternal
impl UnsafeUnpin for RecordedExternal
impl UnwindSafe for RecordedExternal
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