pub struct OffloadRequest {
pub workspace: String,
pub app_id: String,
pub address: ActionAddress,
pub offload: Offload,
pub inputs: Vec<String>,
}Expand description
One admitted invocation of an offloadable action.
Fields§
§workspace: StringThe workspace it was invoked in.
app_id: String§address: ActionAddressThe invoked action.
offload: OffloadThe contract’s declaration: what the work needs of a device.
inputs: Vec<String>Its inputs: the content hashes its arguments name, in order.
Trait Implementations§
Source§impl Clone for OffloadRequest
impl Clone for OffloadRequest
Source§impl Debug for OffloadRequest
impl Debug for OffloadRequest
impl Eq for OffloadRequest
Source§impl PartialEq for OffloadRequest
impl PartialEq for OffloadRequest
impl StructuralPartialEq for OffloadRequest
Auto Trait Implementations§
impl Forget for OffloadRequest
impl Freeze for OffloadRequest
impl Move for OffloadRequest
impl RefUnwindSafe for OffloadRequest
impl Send for OffloadRequest
impl Sync for OffloadRequest
impl Unpin for OffloadRequest
impl UnsafeUnpin for OffloadRequest
impl UnwindSafe for OffloadRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more