pub struct ActionData {
pub name: String,
pub surface_id: String,
pub source_component_id: String,
pub timestamp: String,
pub context: HashMap<String, Value>,
pub want_response: Option<bool>,
pub action_id: Option<String>,
}Fields§
§name: String§surface_id: String§source_component_id: String§timestamp: String§context: HashMap<String, Value>§want_response: Option<bool>§action_id: Option<String>Trait Implementations§
Source§impl Clone for ActionData
impl Clone for ActionData
Source§fn clone(&self) -> ActionData
fn clone(&self) -> ActionData
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 ActionData
impl Debug for ActionData
Source§impl<'de> Deserialize<'de> for ActionData
impl<'de> Deserialize<'de> for ActionData
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
Source§impl PartialEq for ActionData
impl PartialEq for ActionData
Source§fn eq(&self, other: &ActionData) -> bool
fn eq(&self, other: &ActionData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActionData
impl Serialize for ActionData
impl StructuralPartialEq for ActionData
Auto Trait Implementations§
impl Freeze for ActionData
impl RefUnwindSafe for ActionData
impl Send for ActionData
impl Sync for ActionData
impl Unpin for ActionData
impl UnsafeUnpin for ActionData
impl UnwindSafe for ActionData
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