pub struct InvokeCapabilityResponse {
pub request_id: String,
pub success: bool,
pub payload: Vec<u8>,
pub payload_encoding: PayloadEncoding,
pub error: String,
pub duration_ms: u64,
pub context: Option<HashMap<String, String>>,
pub error_details: Option<HashMap<String, String>>,
}Expand description
Invoke capability response
Fields§
§request_id: String§success: bool§payload: Vec<u8>§payload_encoding: PayloadEncoding§error: String§duration_ms: u64§context: Option<HashMap<String, String>>§error_details: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for InvokeCapabilityResponse
impl Clone for InvokeCapabilityResponse
Source§fn clone(&self) -> InvokeCapabilityResponse
fn clone(&self) -> InvokeCapabilityResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 InvokeCapabilityResponse
impl RefUnwindSafe for InvokeCapabilityResponse
impl Send for InvokeCapabilityResponse
impl Sync for InvokeCapabilityResponse
impl Unpin for InvokeCapabilityResponse
impl UnsafeUnpin for InvokeCapabilityResponse
impl UnwindSafe for InvokeCapabilityResponse
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request