pub struct ActionCommand {
pub action: ActionType,
pub priority: u8,
pub confidence: f64,
}Expand description
A command to execute an action with priority and confidence metadata.
Fields§
§action: ActionType§priority: u8§confidence: f64Trait Implementations§
Source§impl Clone for ActionCommand
impl Clone for ActionCommand
Source§fn clone(&self) -> ActionCommand
fn clone(&self) -> ActionCommand
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 ActionCommand
impl Debug for ActionCommand
Source§impl<'de> Deserialize<'de> for ActionCommand
impl<'de> Deserialize<'de> for ActionCommand
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 ActionCommand
impl PartialEq for ActionCommand
Source§impl Serialize for ActionCommand
impl Serialize for ActionCommand
impl StructuralPartialEq for ActionCommand
Auto Trait Implementations§
impl Freeze for ActionCommand
impl RefUnwindSafe for ActionCommand
impl Send for ActionCommand
impl Sync for ActionCommand
impl Unpin for ActionCommand
impl UnsafeUnpin for ActionCommand
impl UnwindSafe for ActionCommand
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