pub struct ActionSpec {
pub action_type: String,
pub parameters: HashMap<String, Value>,
pub outputs: HashMap<String, Value>,
}
Expand description
动作规格
Fields§
§action_type: String
动作类型
parameters: HashMap<String, Value>
动作参数
outputs: HashMap<String, Value>
动作输出
Trait Implementations§
Source§impl Clone for ActionSpec
impl Clone for ActionSpec
Source§fn clone(&self) -> ActionSpec
fn clone(&self) -> ActionSpec
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 moreAuto Trait Implementations§
impl Freeze for ActionSpec
impl RefUnwindSafe for ActionSpec
impl Send for ActionSpec
impl Sync for ActionSpec
impl Unpin for ActionSpec
impl UnwindSafe for ActionSpec
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