pub struct Action {
pub timestamp: f64,
pub action_type: String,
pub payload: Vec<u8>,
pub duration: f64,
pub success: bool,
}Expand description
A recorded action by an agent.
Fields§
§timestamp: f64§action_type: String§payload: Vec<u8>§duration: f64§success: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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