pub struct GlobalConfig {
pub log_verbosity: Level,
pub startup_notification: bool,
pub geometry: Geometry,
pub wrap_content: bool,
pub font: String,
pub template: String,
}Expand description
Global configuration.
Fieldsยง
ยงlog_verbosity: LevelLog verbosity.
startup_notification: boolWhether if a startup notification should be shown.
geometry: GeometryGeometry of the notification window.
wrap_content: boolWhether if the window will be resized to wrap the content.
font: StringText font.
template: StringTemplate for the notification message.
Trait Implementationsยง
Sourceยงimpl Debug for GlobalConfig
impl Debug for GlobalConfig
Sourceยงimpl<'de> Deserialize<'de> for GlobalConfig
impl<'de> Deserialize<'de> for GlobalConfig
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 Freeze for GlobalConfig
impl RefUnwindSafe for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Unpin for GlobalConfig
impl UnwindSafe for GlobalConfig
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