pub struct Invocation {
pub id: InvocationId,
pub operation: String,
pub payload: Vec<u8>,
pub submitted_at: OrbitEpoch,
}Expand description
One retained invocation with an opaque runtime-owned payload.
Fields§
§id: InvocationId§operation: String§payload: Vec<u8>§submitted_at: OrbitEpochPublication time carried by the Orbit frame version.
Implementations§
Source§impl Invocation
impl Invocation
pub fn decode<C: InvocationCodec>(&self) -> Result<C>
Trait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Source§impl Debug for Invocation
impl Debug for Invocation
impl Eq for Invocation
Source§impl PartialEq for Invocation
impl PartialEq for Invocation
impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl Freeze for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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