pub struct BarConfig {
pub id: String,
pub mode: String,
pub position: String,
pub status_command: String,
pub font: String,
pub workspace_buttons: bool,
pub binding_mode_indicator: bool,
pub verbose: bool,
pub colors: HashMap<BarPart, String>,
}
Expand description
BarConfig Reply
Fields§
§id: String
§mode: String
§position: String
§status_command: String
§font: String
§binding_mode_indicator: bool
§verbose: bool
§colors: HashMap<BarPart, String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BarConfig
impl<'de> Deserialize<'de> for BarConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BarConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BarConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BarConfig
impl Serialize for BarConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for BarConfig
impl StructuralPartialEq for BarConfig
Auto Trait Implementations§
impl Freeze for BarConfig
impl RefUnwindSafe for BarConfig
impl Send for BarConfig
impl Sync for BarConfig
impl Unpin for BarConfig
impl UnwindSafe for BarConfig
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