pub struct CliConfig {
pub api_name: &'static str,
pub default_module_name: &'static str,
pub streaming_config: Option<StreamingConfig>,
pub enable_specta: bool,
}Expand description
Configuration for the CLI helper
Fields§
§api_name: &'static strName of the API for display purposes
default_module_name: &'static strDefault module name
streaming_config: Option<StreamingConfig>Streaming configuration for this API
enable_specta: boolEnable Specta type derives for frontend integration
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