pub struct EffectiveConfig {Show 14 fields
pub default_site: Option<String>,
pub protect_previews: bool,
pub max_upload_bytes: u64,
pub upload_idle_timeout_secs: Option<u64>,
pub max_concurrent_uploads: Option<u64>,
pub cluster_rate_limit: bool,
pub compute_vcpus: u32,
pub compute_mem_mib: u32,
pub default_kernel: Option<KernelRef>,
pub console_enabled: bool,
pub console_host: Option<String>,
pub console_path: Option<String>,
pub mcp_enabled: bool,
pub posture: SecurityPosture,
}Expand description
The resolved, effective config the server actually runs on.
Fields§
§default_site: Option<String>§protect_previews: bool§max_upload_bytes: u64§upload_idle_timeout_secs: Option<u64>§max_concurrent_uploads: Option<u64>§cluster_rate_limit: bool§compute_vcpus: u32§compute_mem_mib: u32§default_kernel: Option<KernelRef>§console_enabled: boolResolved console mount: whether to serve it, and where.
console_host: Option<String>§console_path: Option<String>§mcp_enabled: boolWhether to serve the HTTP /mcp endpoint (default on).
posture: SecurityPostureTrait Implementations§
Source§impl Clone for EffectiveConfig
impl Clone for EffectiveConfig
Source§fn clone(&self) -> EffectiveConfig
fn clone(&self) -> EffectiveConfig
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 Debug for EffectiveConfig
impl Debug for EffectiveConfig
impl Eq for EffectiveConfig
Source§impl PartialEq for EffectiveConfig
impl PartialEq for EffectiveConfig
impl StructuralPartialEq for EffectiveConfig
Auto Trait Implementations§
impl Freeze for EffectiveConfig
impl RefUnwindSafe for EffectiveConfig
impl Send for EffectiveConfig
impl Sync for EffectiveConfig
impl Unpin for EffectiveConfig
impl UnsafeUnpin for EffectiveConfig
impl UnwindSafe for EffectiveConfig
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.