pub struct ServerFileConfig {
pub bind: Option<String>,
pub http_path: Option<String>,
pub response_carrier: Option<String>,
}Expand description
[server] — transport knobs.
lake_root is intentionally absent: the project default lives in the
top-level primary_project key. bind is a raw string (e.g.
"127.0.0.1:8765"); the binary parses and validates it as a SocketAddr,
so this library schema stays free of transport types.
Fields§
§bind: Option<String>§http_path: Option<String>§response_carrier: Option<String>Which field of the tool result carries the envelope: text (default),
structured, or both. See crate::tools::ResponseCarrier.
Trait Implementations§
Source§impl Debug for ServerFileConfig
impl Debug for ServerFileConfig
Source§impl Default for ServerFileConfig
impl Default for ServerFileConfig
Source§fn default() -> ServerFileConfig
fn default() -> ServerFileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerFileConfig
impl<'de> Deserialize<'de> for ServerFileConfig
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 ServerFileConfig
impl RefUnwindSafe for ServerFileConfig
impl Send for ServerFileConfig
impl Sync for ServerFileConfig
impl Unpin for ServerFileConfig
impl UnsafeUnpin for ServerFileConfig
impl UnwindSafe for ServerFileConfig
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