pub struct RuntimeConfig { /* private fields */ }Implementations§
Source§impl RuntimeConfig
impl RuntimeConfig
pub fn empty() -> Self
pub fn merged(&self) -> &BTreeMap<String, JsonValue>
pub fn loaded_entries(&self) -> &[ConfigEntry]
pub fn get(&self, key: &str) -> Option<&JsonValue>
pub fn as_json(&self) -> JsonValue
pub fn feature_config(&self) -> &RuntimeFeatureConfig
pub fn mcp(&self) -> &McpConfigCollection
pub fn hooks(&self) -> &RuntimeHookConfig
pub fn plugins(&self) -> &RuntimePluginConfig
pub fn oauth(&self) -> Option<&OAuthConfig>
pub fn model(&self) -> Option<&str>
pub fn permission_mode(&self) -> Option<ResolvedPermissionMode>
pub fn sandbox(&self) -> &SandboxConfig
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
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 RuntimeConfig
impl Debug for RuntimeConfig
Source§impl PartialEq for RuntimeConfig
impl PartialEq for RuntimeConfig
impl Eq for RuntimeConfig
impl StructuralPartialEq for RuntimeConfig
Auto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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