Struct inquire::ui::ErrorMessageRenderConfig [−][src]
pub struct ErrorMessageRenderConfig {
pub prefix: Styled<&'static str>,
pub separator: StyleSheet,
pub message: StyleSheet,
}
Expand description
Render configuration for error messages.
Fields
prefix: Styled<&'static str>
Prefix style.
separator: StyleSheet
Separator style.
Note: This separator is a space character. It might be useful to style it if you want to set a background color for error messages.
message: StyleSheet
Message style.
Implementations
Render configuration where default colors and attributes are applied.
Sets the prefix.
Sets the separator stylesheet.
Note: This separator is a space character. It might be useful to style it if you want to set a background color for error messages.
Sets the message stylesheet.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorMessageRenderConfig
impl Send for ErrorMessageRenderConfig
impl Sync for ErrorMessageRenderConfig
impl Unpin for ErrorMessageRenderConfig
impl UnwindSafe for ErrorMessageRenderConfig
Blanket Implementations
Mutably borrows from an owned value. Read more