pub enum OperatorGateOptionSemantics {
Accept,
Decline,
Inspect,
Exit,
Unknown,
}Expand description
What choosing a given OperatorGateOption does, inferred from the verb
in its own on-screen text (see classify_operator_gate_option_semantics
in gate4agent-shell-native) – never from its position or number, since
neither is stable across CLIs or screen wraps.
Variants§
Accept
Grants what the gate is asking for (trust, continue, proceed).
Decline
Refuses what the gate is asking for (don’t trust, continue without trusting) while still moving past the prompt.
Inspect
Opens a closer look before deciding (review the hooks/diff) rather than accepting or declining outright.
Exit
Leaves the CLI entirely rather than answering the prompt.
Unknown
The option’s own text used none of the recognized verbs.
Trait Implementations§
Source§impl Clone for OperatorGateOptionSemantics
impl Clone for OperatorGateOptionSemantics
impl Copy for OperatorGateOptionSemantics
Source§impl Debug for OperatorGateOptionSemantics
impl Debug for OperatorGateOptionSemantics
Source§impl<'de> Deserialize<'de> for OperatorGateOptionSemantics
impl<'de> Deserialize<'de> for OperatorGateOptionSemantics
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 Eq for OperatorGateOptionSemantics
impl StructuralPartialEq for OperatorGateOptionSemantics
Auto Trait Implementations§
impl Freeze for OperatorGateOptionSemantics
impl RefUnwindSafe for OperatorGateOptionSemantics
impl Send for OperatorGateOptionSemantics
impl Sync for OperatorGateOptionSemantics
impl Unpin for OperatorGateOptionSemantics
impl UnsafeUnpin for OperatorGateOptionSemantics
impl UnwindSafe for OperatorGateOptionSemantics
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