pub struct ExecutedAction {
pub action_type: String,
pub target: Option<String>,
pub executed_at_ms: i64,
pub success: bool,
pub error_reason: Option<String>,
}Expand description
已执行的动作记录
Fields§
§action_type: String动作类型
target: Option<String>目标标识
executed_at_ms: i64执行时间 (epoch ms)
success: bool执行是否成功
error_reason: Option<String>失败原因 (如有)
Trait Implementations§
Source§impl Clone for ExecutedAction
impl Clone for ExecutedAction
Source§fn clone(&self) -> ExecutedAction
fn clone(&self) -> ExecutedAction
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 ExecutedAction
impl Debug for ExecutedAction
Source§impl<'de> Deserialize<'de> for ExecutedAction
impl<'de> Deserialize<'de> for ExecutedAction
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 ExecutedAction
impl RefUnwindSafe for ExecutedAction
impl Send for ExecutedAction
impl Sync for ExecutedAction
impl Unpin for ExecutedAction
impl UnsafeUnpin for ExecutedAction
impl UnwindSafe for ExecutedAction
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