pub struct NodeConditionDto {
pub field: String,
pub op: NodeConditionOpDto,
pub value: Option<Value>,
pub target_node: String,
}Expand description
条件付き遷移規則 DTO。
Fields§
§field: String評価対象フィールド ("answer", "confidence", "route" など)。
op: NodeConditionOpDto比較演算子。
value: Option<Value>比較対象の値。
target_node: String条件合致時の遷移先ノード ID。
Trait Implementations§
Source§impl Clone for NodeConditionDto
impl Clone for NodeConditionDto
Source§fn clone(&self) -> NodeConditionDto
fn clone(&self) -> NodeConditionDto
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 NodeConditionDto
impl ComposeSchema for NodeConditionDto
Source§impl Debug for NodeConditionDto
impl Debug for NodeConditionDto
Source§impl<'de> Deserialize<'de> for NodeConditionDto
impl<'de> Deserialize<'de> for NodeConditionDto
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<NodeCondition> for NodeConditionDto
impl From<NodeCondition> for NodeConditionDto
Source§fn from(c: NodeCondition) -> Self
fn from(c: NodeCondition) -> Self
Converts to this type from the input type.
Source§impl From<NodeConditionDto> for NodeCondition
impl From<NodeConditionDto> for NodeCondition
Source§fn from(dto: NodeConditionDto) -> Self
fn from(dto: NodeConditionDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NodeConditionDto
impl PartialEq for NodeConditionDto
Source§impl Serialize for NodeConditionDto
impl Serialize for NodeConditionDto
impl StructuralPartialEq for NodeConditionDto
Auto Trait Implementations§
impl Freeze for NodeConditionDto
impl RefUnwindSafe for NodeConditionDto
impl Send for NodeConditionDto
impl Sync for NodeConditionDto
impl Unpin for NodeConditionDto
impl UnsafeUnpin for NodeConditionDto
impl UnwindSafe for NodeConditionDto
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