pub struct NodeExecution {
pub node_id: String,
pub status: NodeStatus,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub retry_count: u32,
pub error: Option<String>,
pub output: Option<Value>,
}Expand description
节点执行记录
Fields§
§node_id: String节点ID
status: NodeStatus执行状态
started_at: Option<DateTime<Utc>>开始时间
finished_at: Option<DateTime<Utc>>结束时间
retry_count: u32重试次数
error: Option<String>错误信息
output: Option<Value>输出数据
Implementations§
Source§impl NodeExecution
impl NodeExecution
Trait Implementations§
Source§impl Clone for NodeExecution
impl Clone for NodeExecution
Source§fn clone(&self) -> NodeExecution
fn clone(&self) -> NodeExecution
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 moreSource§impl Debug for NodeExecution
impl Debug for NodeExecution
Source§impl<'de> Deserialize<'de> for NodeExecution
impl<'de> Deserialize<'de> for NodeExecution
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 NodeExecution
impl RefUnwindSafe for NodeExecution
impl Send for NodeExecution
impl Sync for NodeExecution
impl Unpin for NodeExecution
impl UnsafeUnpin for NodeExecution
impl UnwindSafe for NodeExecution
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