#[non_exhaustive]pub enum GoalAction {
Edit {
objective: Option<String>,
max_rounds: Option<u32>,
token_budget: Option<u64>,
},
Pause,
Resume,
Complete,
Blocked {
reason: String,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for GoalAction
impl Clone for GoalAction
Source§impl Debug for GoalAction
impl Debug for GoalAction
impl Eq for GoalAction
Source§impl PartialEq for GoalAction
impl PartialEq for GoalAction
impl StructuralPartialEq for GoalAction
Auto Trait Implementations§
impl Forget for GoalAction
impl Freeze for GoalAction
impl Move for GoalAction
impl RefUnwindSafe for GoalAction
impl Send for GoalAction
impl Sync for GoalAction
impl Unpin for GoalAction
impl UnsafeUnpin for GoalAction
impl UnwindSafe for GoalAction
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