pub struct BranchDef {
pub name: String,
pub condition: String,
pub target: String,
}Expand description
条件分支定义
Fields§
§name: String分支名称
condition: String条件表达式
target: String目标节点ID
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BranchDef
impl<'de> Deserialize<'de> for BranchDef
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 BranchDef
impl RefUnwindSafe for BranchDef
impl Send for BranchDef
impl Sync for BranchDef
impl Unpin for BranchDef
impl UnsafeUnpin for BranchDef
impl UnwindSafe for BranchDef
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