pub struct DagNodeDto {
pub node_type: DagNodeTypeDto,
pub question: Option<Question>,
pub conditions: Vec<NodeConditionDto>,
pub parallel_nodes: Vec<String>,
pub join_node: Option<String>,
pub reason: Option<String>,
}Expand description
DAG を構成する個々のノード定義 DTO。
Fields§
§node_type: DagNodeTypeDtoノードの種別。
question: Option<Question>推論ノード (Inference) で実行する質問仕様。
conditions: Vec<NodeConditionDto>ノード完了後の条件付き遷移規則リスト。
parallel_nodes: Vec<String>並行実行対象となるノード ID 一覧 (Parallel ノード用)。
join_node: Option<String>並行実行完了後の合流先ノード ID (Parallel ノード用)。
reason: Option<String>エスカレーションまたは分岐の理由説明文。
Trait Implementations§
Source§impl Clone for DagNodeDto
impl Clone for DagNodeDto
Source§fn clone(&self) -> DagNodeDto
fn clone(&self) -> DagNodeDto
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 DagNodeDto
impl ComposeSchema for DagNodeDto
Source§impl Debug for DagNodeDto
impl Debug for DagNodeDto
Source§impl<'de> Deserialize<'de> for DagNodeDto
impl<'de> Deserialize<'de> for DagNodeDto
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<DagNode> for DagNodeDto
impl From<DagNode> for DagNodeDto
Source§impl From<DagNodeDto> for DagNode
impl From<DagNodeDto> for DagNode
Source§fn from(dto: DagNodeDto) -> Self
fn from(dto: DagNodeDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DagNodeDto
impl PartialEq for DagNodeDto
Source§impl Serialize for DagNodeDto
impl Serialize for DagNodeDto
impl StructuralPartialEq for DagNodeDto
Auto Trait Implementations§
impl Freeze for DagNodeDto
impl RefUnwindSafe for DagNodeDto
impl Send for DagNodeDto
impl Sync for DagNodeDto
impl Unpin for DagNodeDto
impl UnsafeUnpin for DagNodeDto
impl UnwindSafe for DagNodeDto
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