pub struct Features {Show 17 fields
pub interactive: FeatureSupport,
pub non_interactive: FeatureSupport,
pub resume: FeatureSupport,
pub resume_with_prompt: FeatureSupport,
pub session_logs: SessionLogSupport,
pub json_output: FeatureSupport,
pub stream_json: FeatureSupport,
pub json_schema: FeatureSupport,
pub input_format: FeatureSupport,
pub streaming_input: FeatureSupport,
pub worktree: FeatureSupport,
pub sandbox: FeatureSupport,
pub system_prompt: FeatureSupport,
pub auto_approve: FeatureSupport,
pub review: FeatureSupport,
pub add_dirs: FeatureSupport,
pub max_turns: FeatureSupport,
}Expand description
All feature flags for a provider.
Fields§
§interactive: FeatureSupport§non_interactive: FeatureSupport§resume: FeatureSupport§resume_with_prompt: FeatureSupport§session_logs: SessionLogSupport§json_output: FeatureSupport§stream_json: FeatureSupport§json_schema: FeatureSupport§input_format: FeatureSupport§streaming_input: FeatureSupport§worktree: FeatureSupport§sandbox: FeatureSupport§system_prompt: FeatureSupport§auto_approve: FeatureSupport§review: FeatureSupport§add_dirs: FeatureSupport§max_turns: FeatureSupportTrait Implementations§
Source§impl<'de> Deserialize<'de> for Features
impl<'de> Deserialize<'de> for Features
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
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnsafeUnpin for Features
impl UnwindSafe for Features
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