pub enum ActionParameterValue {
String(String),
Number(f64),
Integer(i64),
Boolean(bool),
ContextualLink(ContextoidId, ContextoidId),
}Expand description
Represents a value for a parameter within a ProposedAction.
This allows the parameters map to hold values of different types.
Variants§
String(String)
Number(f64)
Integer(i64)
Boolean(bool)
ContextualLink(ContextoidId, ContextoidId)
A link to a complex, structured result in a Contextoid. As an input, this can be interpreted as a command to fetch data from the context using the ID’s.
Trait Implementations§
Source§impl Clone for ActionParameterValue
impl Clone for ActionParameterValue
Source§fn clone(&self) -> ActionParameterValue
fn clone(&self) -> ActionParameterValue
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 ActionParameterValue
impl Debug for ActionParameterValue
Source§impl Display for ActionParameterValue
impl Display for ActionParameterValue
Source§impl PartialEq for ActionParameterValue
impl PartialEq for ActionParameterValue
impl StructuralPartialEq for ActionParameterValue
Auto Trait Implementations§
impl Freeze for ActionParameterValue
impl RefUnwindSafe for ActionParameterValue
impl Send for ActionParameterValue
impl Sync for ActionParameterValue
impl Unpin for ActionParameterValue
impl UnwindSafe for ActionParameterValue
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