pub struct StepResource {
pub resource_kind: String,
pub resource_id: String,
pub payload: String,
}Expand description
What execute hands back for the journal: the resource the step
created (or re-affirmed), recorded before the engine proceeds.
Fields§
§resource_kind: String§resource_id: String§payload: StringSubstrate-specific JSON needed to re-find the resource later.
Trait Implementations§
Source§impl Clone for StepResource
impl Clone for StepResource
Source§fn clone(&self) -> StepResource
fn clone(&self) -> StepResource
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 moreAuto Trait Implementations§
impl Freeze for StepResource
impl RefUnwindSafe for StepResource
impl Send for StepResource
impl Sync for StepResource
impl Unpin for StepResource
impl UnsafeUnpin for StepResource
impl UnwindSafe for StepResource
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