pub struct TeamServerConfig {Show 17 fields
pub host: String,
pub port: u16,
pub default_workspace_id: String,
pub workspaces: Vec<TeamWorkspaceConfig>,
pub tokens: Vec<TeamTokenConfig>,
pub audit_log_path: PathBuf,
pub disable_host_check: bool,
pub allowed_hosts: Vec<String>,
pub max_body_bytes: usize,
pub max_concurrency: usize,
pub max_rps: u32,
pub rate_burst: u32,
pub request_timeout_ms: u64,
pub stateful_mode: bool,
pub json_response: bool,
pub storage_quota_bytes: Option<u64>,
pub roi_webhook_url: Option<String>,
}Fields§
§host: String§port: u16§default_workspace_id: String§workspaces: Vec<TeamWorkspaceConfig>§tokens: Vec<TeamTokenConfig>§audit_log_path: PathBuf§disable_host_check: bool§allowed_hosts: Vec<String>§max_body_bytes: usize§max_concurrency: usize§max_rps: u32§rate_burst: u32§request_timeout_ms: u64§stateful_mode: bool§json_response: bool§storage_quota_bytes: Option<u64>Hosted-storage quota in bytes (storageQuotaBytes in team.json),
rendered per plan by the control plane’s provisioning bridge (#282).
Omitted ⇒ the server defaults to the Team tier’s 5 GiB; the
LEANCTX_TEAM_STORAGE_QUOTA_BYTES env var overrides both.
roi_webhook_url: Option<String>Slack/Discord/generic webhook for the weekly team-ROI summary
(roiWebhookUrl in team.json, GL #388). HTTPS only — the server
refuses to start with a plaintext URL. Omitted ⇒ no webhook posts.
Implementations§
Trait Implementations§
Source§impl Clone for TeamServerConfig
impl Clone for TeamServerConfig
Source§fn clone(&self) -> TeamServerConfig
fn clone(&self) -> TeamServerConfig
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 TeamServerConfig
impl Debug for TeamServerConfig
Source§impl<'de> Deserialize<'de> for TeamServerConfig
impl<'de> Deserialize<'de> for TeamServerConfig
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 TeamServerConfig
impl RefUnwindSafe for TeamServerConfig
impl Send for TeamServerConfig
impl Sync for TeamServerConfig
impl Unpin for TeamServerConfig
impl UnsafeUnpin for TeamServerConfig
impl UnwindSafe for TeamServerConfig
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
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more