pub struct ActionContextEntry {
pub key: String,
pub value: BoundValue,
}Expand description
A single entry in an action’s context array.
Fields§
§key: StringThe key name.
value: BoundValueThe value, which can be literal or data-bound.
Trait Implementations§
Source§impl Clone for ActionContextEntry
impl Clone for ActionContextEntry
Source§fn clone(&self) -> ActionContextEntry
fn clone(&self) -> ActionContextEntry
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 ActionContextEntry
impl Debug for ActionContextEntry
Source§impl<'de> Deserialize<'de> for ActionContextEntry
impl<'de> Deserialize<'de> for ActionContextEntry
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 ActionContextEntry
impl PartialEq for ActionContextEntry
Source§impl Serialize for ActionContextEntry
impl Serialize for ActionContextEntry
impl StructuralPartialEq for ActionContextEntry
Auto Trait Implementations§
impl Freeze for ActionContextEntry
impl RefUnwindSafe for ActionContextEntry
impl Send for ActionContextEntry
impl Sync for ActionContextEntry
impl Unpin for ActionContextEntry
impl UnsafeUnpin for ActionContextEntry
impl UnwindSafe for ActionContextEntry
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