pub struct OperationResponse {
pub output: Value,
pub request_id: String,
}Expand description
Result of an operation, pairing its output with a correlation id.
Fields§
§output: ValueJSON output produced by the operation.
request_id: StringUnique id correlating this response with its originating request.
Trait Implementations§
Source§impl Clone for OperationResponse
impl Clone for OperationResponse
Source§fn clone(&self) -> OperationResponse
fn clone(&self) -> OperationResponse
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 OperationResponse
impl Debug for OperationResponse
Source§impl PartialEq for OperationResponse
impl PartialEq for OperationResponse
Source§fn eq(&self, other: &OperationResponse) -> bool
fn eq(&self, other: &OperationResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OperationResponse
impl Serialize for OperationResponse
impl StructuralPartialEq for OperationResponse
Auto Trait Implementations§
impl Freeze for OperationResponse
impl RefUnwindSafe for OperationResponse
impl Send for OperationResponse
impl Sync for OperationResponse
impl Unpin for OperationResponse
impl UnsafeUnpin for OperationResponse
impl UnwindSafe for OperationResponse
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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