pub struct ConfigRequirementsWithSources {Show 29 fields
pub sqlite_home: Option<Sourced<AbsolutePathBuf>>,
pub log_dir: Option<Sourced<AbsolutePathBuf>>,
pub model_catalog_json: Option<Sourced<AbsolutePathBuf>>,
pub check_for_update_on_startup: Option<Sourced<bool>>,
pub allow_login_shell: Option<Sourced<bool>>,
pub feedback: Option<Sourced<FeedbackConfigToml>>,
pub allowed_approval_policies: Option<Sourced<Vec<AskForApproval>>>,
pub allowed_approvals_reviewers: Option<Sourced<Vec<ApprovalsReviewer>>>,
pub allowed_sandbox_modes: Option<Sourced<Vec<SandboxModeRequirement>>>,
pub allowed_permission_profiles: Option<Sourced<BTreeMap<String, bool>>>,
pub default_permissions: Option<Sourced<String>>,
pub allowed_web_search_modes: Option<Sourced<Vec<WebSearchModeRequirement>>>,
pub allow_managed_hooks_only: Option<Sourced<bool>>,
pub allow_appshots: Option<Sourced<bool>>,
pub allow_remote_control: Option<Sourced<bool>>,
pub computer_use: Option<Sourced<ComputerUseRequirementsToml>>,
pub windows: Option<Sourced<WindowsRequirementsToml>>,
pub feature_requirements: Option<Sourced<FeatureRequirementsToml>>,
pub hooks: Option<Sourced<ManagedHooksRequirementsToml>>,
pub mcp_servers: Option<Sourced<BTreeMap<String, McpServerRequirement>>>,
pub plugins: Option<Sourced<BTreeMap<String, PluginRequirementsToml>>>,
pub marketplaces: Option<Sourced<MarketplaceRequirementsToml>>,
pub apps: Option<Sourced<AppsRequirementsToml>>,
pub rules: Option<Sourced<RequirementsExecPolicyToml>>,
pub enforce_residency: Option<Sourced<ResidencyRequirement>>,
pub network: Option<Sourced<NetworkRequirementsToml>>,
pub permissions: Option<Sourced<PermissionsRequirementsToml>>,
pub models: Option<Sourced<ModelsRequirementsToml>>,
pub guardian_policy_config: Option<Sourced<String>>,
}Fields§
§sqlite_home: Option<Sourced<AbsolutePathBuf>>§log_dir: Option<Sourced<AbsolutePathBuf>>§model_catalog_json: Option<Sourced<AbsolutePathBuf>>§check_for_update_on_startup: Option<Sourced<bool>>§allow_login_shell: Option<Sourced<bool>>§feedback: Option<Sourced<FeedbackConfigToml>>§allowed_approval_policies: Option<Sourced<Vec<AskForApproval>>>§allowed_approvals_reviewers: Option<Sourced<Vec<ApprovalsReviewer>>>§allowed_sandbox_modes: Option<Sourced<Vec<SandboxModeRequirement>>>§allowed_permission_profiles: Option<Sourced<BTreeMap<String, bool>>>§default_permissions: Option<Sourced<String>>§allowed_web_search_modes: Option<Sourced<Vec<WebSearchModeRequirement>>>§allow_managed_hooks_only: Option<Sourced<bool>>§allow_appshots: Option<Sourced<bool>>§allow_remote_control: Option<Sourced<bool>>§computer_use: Option<Sourced<ComputerUseRequirementsToml>>§windows: Option<Sourced<WindowsRequirementsToml>>§feature_requirements: Option<Sourced<FeatureRequirementsToml>>§hooks: Option<Sourced<ManagedHooksRequirementsToml>>§mcp_servers: Option<Sourced<BTreeMap<String, McpServerRequirement>>>§plugins: Option<Sourced<BTreeMap<String, PluginRequirementsToml>>>§marketplaces: Option<Sourced<MarketplaceRequirementsToml>>§apps: Option<Sourced<AppsRequirementsToml>>§rules: Option<Sourced<RequirementsExecPolicyToml>>§enforce_residency: Option<Sourced<ResidencyRequirement>>§network: Option<Sourced<NetworkRequirementsToml>>§permissions: Option<Sourced<PermissionsRequirementsToml>>§models: Option<Sourced<ModelsRequirementsToml>>§guardian_policy_config: Option<Sourced<String>>Implementations§
Source§impl ConfigRequirementsWithSources
impl ConfigRequirementsWithSources
pub fn merge_unset_fields( &mut self, source: RequirementSource, other: ConfigRequirementsToml, )
pub fn into_toml(self) -> ConfigRequirementsToml
Trait Implementations§
Source§impl Clone for ConfigRequirementsWithSources
impl Clone for ConfigRequirementsWithSources
Source§fn clone(&self) -> ConfigRequirementsWithSources
fn clone(&self) -> ConfigRequirementsWithSources
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ConfigRequirementsWithSources
impl Default for ConfigRequirementsWithSources
Source§fn default() -> ConfigRequirementsWithSources
fn default() -> ConfigRequirementsWithSources
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ConfigRequirementsWithSources
Source§impl TryFrom<ConfigRequirementsWithSources> for ConfigRequirements
impl TryFrom<ConfigRequirementsWithSources> for ConfigRequirements
Source§type Error = ConstraintError
type Error = ConstraintError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ConfigRequirementsWithSources
impl RefUnwindSafe for ConfigRequirementsWithSources
impl Send for ConfigRequirementsWithSources
impl Sync for ConfigRequirementsWithSources
impl Unpin for ConfigRequirementsWithSources
impl UnsafeUnpin for ConfigRequirementsWithSources
impl UnwindSafe for ConfigRequirementsWithSources
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<T> AsTypeStaticRegistered for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
impl<T> HasTyVTable for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request