pub struct ActionRecord {Show 16 fields
pub id: ActionId,
pub session_id: String,
pub seq: i64,
pub kind: ActionKind,
pub tool_use_id: Option<String>,
pub raw_command: String,
pub effect: String,
pub rule_id: Option<String>,
pub has_unknown: bool,
pub status: ActionStatus,
pub target_action_id: Option<ActionId>,
pub target_prior_status: Option<ActionStatus>,
pub pinned: bool,
pub started_at_ms: i64,
pub duration_ms: Option<i64>,
pub note: Option<String>,
}Fields§
§id: ActionId§session_id: String§seq: i64§kind: ActionKind§tool_use_id: Option<String>§raw_command: String§effect: String§rule_id: Option<String>§has_unknown: bool§status: ActionStatus§target_action_id: Option<ActionId>§target_prior_status: Option<ActionStatus>For undo actions: the target’s status before it was flipped to
undone — what redo must restore (never a fabricated completed).
pinned: bool§started_at_ms: i64§duration_ms: Option<i64>§note: Option<String>Trait Implementations§
Source§impl Clone for ActionRecord
impl Clone for ActionRecord
Source§fn clone(&self) -> ActionRecord
fn clone(&self) -> ActionRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ActionRecord
impl RefUnwindSafe for ActionRecord
impl Send for ActionRecord
impl Sync for ActionRecord
impl Unpin for ActionRecord
impl UnsafeUnpin for ActionRecord
impl UnwindSafe for ActionRecord
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