pub struct CliConfig {
pub log_level: String,
pub default_port: u16,
pub cache: CacheConfig,
pub server: ServerConfig,
pub compiler: CompilerConfig,
}Expand description
Kotoba CLI設定
Fields§
§log_level: Stringデフォルトのログレベル
default_port: u16デフォルトのポート
cache: CacheConfigキャッシュ設定
server: ServerConfigサーバー設定
compiler: CompilerConfigコンパイラ設定
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CliConfig
impl<'de> Deserialize<'de> for CliConfig
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 CliConfig
impl RefUnwindSafe for CliConfig
impl Send for CliConfig
impl Sync for CliConfig
impl Unpin for CliConfig
impl UnwindSafe for CliConfig
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