pub struct InvocationResponse {
pub request_id: String,
pub payload: Value,
pub received_at: DateTime<Utc>,
}Expand description
Response from a successful invocation.
Fields§
§request_id: StringThe request ID this response is for.
payload: ValueThe response payload.
received_at: DateTime<Utc>Timestamp when the response was received.
Trait Implementations§
Source§impl Clone for InvocationResponse
impl Clone for InvocationResponse
Source§fn clone(&self) -> InvocationResponse
fn clone(&self) -> InvocationResponse
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 moreSource§impl Debug for InvocationResponse
impl Debug for InvocationResponse
Source§impl<'de> Deserialize<'de> for InvocationResponse
impl<'de> Deserialize<'de> for InvocationResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InvocationResponse
impl RefUnwindSafe for InvocationResponse
impl Send for InvocationResponse
impl Sync for InvocationResponse
impl Unpin for InvocationResponse
impl UnwindSafe for InvocationResponse
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