pub struct CompiledAction {
pub id: String,
pub signature: String,
pub ast: ActionNode,
pub required_variables: Vec<String>,
pub compiled_at: String,
pub source_occurrences: u32,
pub source_success_rate: f64,
}Expand description
A compiled action ready for zero-token execution
Fields§
§id: String§signature: String§ast: ActionNode§required_variables: Vec<String>§compiled_at: String§source_occurrences: u32§source_success_rate: f64Trait Implementations§
Source§impl Clone for CompiledAction
impl Clone for CompiledAction
Source§fn clone(&self) -> CompiledAction
fn clone(&self) -> CompiledAction
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 CompiledAction
impl Debug for CompiledAction
Source§impl<'de> Deserialize<'de> for CompiledAction
impl<'de> Deserialize<'de> for CompiledAction
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
Auto Trait Implementations§
impl Freeze for CompiledAction
impl RefUnwindSafe for CompiledAction
impl Send for CompiledAction
impl Sync for CompiledAction
impl Unpin for CompiledAction
impl UnsafeUnpin for CompiledAction
impl UnwindSafe for CompiledAction
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