pub struct RuleItem {
pub description: String,
pub kind: Option<RuleKind>,
pub args: Vec<String>,
}Expand description
一条要跑的判据:说明 + 怎么判(kind 为空即不跑,交给智能体或人)。
Fields§
§description: String§kind: Option<RuleKind>§args: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleItem
impl RefUnwindSafe for RuleItem
impl Send for RuleItem
impl Sync for RuleItem
impl Unpin for RuleItem
impl UnsafeUnpin for RuleItem
impl UnwindSafe for RuleItem
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