pub struct Cfg {
pub screen: ScreenConfig,
pub initial_query: Option<String>,
pub preserve_order: bool,
pub prompt: PromptConfig,
pub gauge: GaugeConfig,
pub candidate: CandidateConfig,
pub selection: SelectionConfig,
pub advanced: AdvancedConfig,
}
Expand description
Main configuration structure
Fields§
§screen: ScreenConfig
§initial_query: Option<String>
§preserve_order: bool
§prompt: PromptConfig
§gauge: GaugeConfig
§candidate: CandidateConfig
§selection: SelectionConfig
§advanced: AdvancedConfig
Trait Implementations§
source§impl<'de> Deserialize<'de> for Cfg
impl<'de> Deserialize<'de> for Cfg
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 RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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