pub enum FileChangeApprovalDecision {
Accept,
AcceptForSession,
Decline,
Cancel,
Unknown(Value),
}Variants§
Accept
User approved the file changes.
AcceptForSession
User approved the file changes and future changes to the same files should run without prompting.
Decline
User denied the file changes. The agent will continue the turn.
Cancel
User denied the file changes. The turn will also be immediately interrupted.
Unknown(Value)
A value this Codex version doesn’t know, or a known one whose body didn’t decode.
Trait Implementations§
Source§impl Clone for FileChangeApprovalDecision
impl Clone for FileChangeApprovalDecision
Source§impl Debug for FileChangeApprovalDecision
impl Debug for FileChangeApprovalDecision
Source§impl<'de> Deserialize<'de> for FileChangeApprovalDecision
impl<'de> Deserialize<'de> for FileChangeApprovalDecision
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
impl StructuralPartialEq for FileChangeApprovalDecision
Auto Trait Implementations§
impl Forget for FileChangeApprovalDecision
impl Freeze for FileChangeApprovalDecision
impl RefUnwindSafe for FileChangeApprovalDecision
impl Send for FileChangeApprovalDecision
impl Sync for FileChangeApprovalDecision
impl Unpin for FileChangeApprovalDecision
impl UnsafeUnpin for FileChangeApprovalDecision
impl UnwindSafe for FileChangeApprovalDecision
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