pub struct ActionResponseMessage {
pub version: String,
pub action_id: String,
pub action_response: ActionResponseBody,
}Expand description
Envelope: actionResponse message (A2UI v1.0).
Wire shape:
{ "version": "v1.0", "actionId": "...", "actionResponse": { "value" | "error" } }
Fields§
§version: String§action_id: String§action_response: ActionResponseBodyImplementations§
Trait Implementations§
Source§impl Clone for ActionResponseMessage
impl Clone for ActionResponseMessage
Source§fn clone(&self) -> ActionResponseMessage
fn clone(&self) -> ActionResponseMessage
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 ActionResponseMessage
impl Debug for ActionResponseMessage
Source§impl<'de> Deserialize<'de> for ActionResponseMessage
impl<'de> Deserialize<'de> for ActionResponseMessage
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 ActionResponseMessage
impl RefUnwindSafe for ActionResponseMessage
impl Send for ActionResponseMessage
impl Sync for ActionResponseMessage
impl Unpin for ActionResponseMessage
impl UnsafeUnpin for ActionResponseMessage
impl UnwindSafe for ActionResponseMessage
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