pub struct OrderResponse {
pub id: OrderId,
pub result: Result<RuntimeValue, JsError>,
}Expand description
Response to fulfill an order from the host
Fields§
§id: OrderIdThe order ID this response is for
result: Result<RuntimeValue, JsError>The result of the operation (success or error).
Use RuntimeValue::unguarded() for primitives or
api::create_response_object() for objects.
Auto Trait Implementations§
impl Freeze for OrderResponse
impl !RefUnwindSafe for OrderResponse
impl !Send for OrderResponse
impl !Sync for OrderResponse
impl Unpin for OrderResponse
impl !UnwindSafe for OrderResponse
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