pub struct DagResponse {
pub dag_id: String,
pub status: String,
pub final_node: Option<String>,
pub final_decision: Option<Answer>,
pub execution_path: Vec<String>,
pub steps: IndexMap<String, DagStepResultDto>,
pub escalation: Option<DagEscalationDetailDto>,
pub usage: DagUsageDto,
}Expand description
DAG 実行レスポンス構造体。
Fields§
§dag_id: String実行された DAG の識別子。
status: String実行終了ステータス ("completed" または "escalated")。
final_node: Option<String>最終到達ノード ID。
final_decision: Option<Answer>最終推論ノードの決定結果(推論ノードを通過した場合)。
execution_path: Vec<String>辿ったノード ID の実行経路。
steps: IndexMap<String, DagStepResultDto>各ノードの実行詳細マップ(ノード ID -> 実行記録)。
escalation: Option<DagEscalationDetailDto>エスカレーション発生時の診断情報(該当する場合)。
usage: DagUsageDtoリソース消費サマリー(completion_tokens: 0 を含む)。
Trait Implementations§
Source§impl Clone for DagResponse
impl Clone for DagResponse
Source§fn clone(&self) -> DagResponse
fn clone(&self) -> DagResponse
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 ComposeSchema for DagResponse
impl ComposeSchema for DagResponse
Source§impl Debug for DagResponse
impl Debug for DagResponse
Source§impl<'de> Deserialize<'de> for DagResponse
impl<'de> Deserialize<'de> for DagResponse
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
Source§impl From<DagExecutionResult> for DagResponse
impl From<DagExecutionResult> for DagResponse
Source§fn from(res: DagExecutionResult) -> Self
fn from(res: DagExecutionResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DagResponse
impl PartialEq for DagResponse
Source§impl Serialize for DagResponse
impl Serialize for DagResponse
impl StructuralPartialEq for DagResponse
Auto Trait Implementations§
impl Freeze for DagResponse
impl RefUnwindSafe for DagResponse
impl Send for DagResponse
impl Sync for DagResponse
impl Unpin for DagResponse
impl UnsafeUnpin for DagResponse
impl UnwindSafe for DagResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more