pub struct CodexFeatureFlags {
pub supports_features_list: bool,
pub supports_output_schema: bool,
pub supports_add_dir: bool,
pub supports_mcp_login: bool,
}Expand description
Feature gates for Codex CLI flags.
All fields default to false so callers can conservatively avoid passing flags
unless probes prove that the binary understands them.
Fields§
§supports_features_list: boolTrue when codex features list is available.
supports_output_schema: boolTrue when --output-schema is accepted by codex exec.
supports_add_dir: boolTrue when codex add-dir is available for recursive prompting.
supports_mcp_login: boolTrue when codex login --mcp is recognized for MCP integration.
Trait Implementations§
Source§impl Clone for CodexFeatureFlags
impl Clone for CodexFeatureFlags
Source§fn clone(&self) -> CodexFeatureFlags
fn clone(&self) -> CodexFeatureFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodexFeatureFlags
impl Debug for CodexFeatureFlags
Source§impl Default for CodexFeatureFlags
impl Default for CodexFeatureFlags
Source§fn default() -> CodexFeatureFlags
fn default() -> CodexFeatureFlags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodexFeatureFlags
impl<'de> Deserialize<'de> for CodexFeatureFlags
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
Source§impl PartialEq for CodexFeatureFlags
impl PartialEq for CodexFeatureFlags
Source§impl Serialize for CodexFeatureFlags
impl Serialize for CodexFeatureFlags
impl Eq for CodexFeatureFlags
impl StructuralPartialEq for CodexFeatureFlags
Auto Trait Implementations§
impl Freeze for CodexFeatureFlags
impl RefUnwindSafe for CodexFeatureFlags
impl Send for CodexFeatureFlags
impl Sync for CodexFeatureFlags
impl Unpin for CodexFeatureFlags
impl UnsafeUnpin for CodexFeatureFlags
impl UnwindSafe for CodexFeatureFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.