1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 07:30:52 +00:00
starship/src/configs/fill.rs
2022-04-01 17:14:05 +02:00

21 lines
461 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(feature = "config-schema", derive(schemars::JsonSchema))]
#[serde(default)]
pub struct FillConfig<'a> {
pub style: &'a str,
pub symbol: &'a str,
pub disabled: bool,
}
impl<'a> Default for FillConfig<'a> {
fn default() -> Self {
FillConfig {
style: "bold black",
symbol: ".",
disabled: false,
}
}
}