pub struct GorConfig {
pub global: BTreeMap<String, Value>,
pub hosts: BTreeMap<String, BTreeMap<String, Value>>,
}Expand description
Top-level configuration structure stored in ~/.config/gor/config.yml.
Fields§
§global: BTreeMap<String, Value>Global config keys (editor, browser, pager, git_protocol, prompt).
hosts: BTreeMap<String, BTreeMap<String, Value>>Host-scoped configuration overrides.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GorConfig
impl<'de> Deserialize<'de> for GorConfig
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 GorConfig
impl RefUnwindSafe for GorConfig
impl Send for GorConfig
impl Sync for GorConfig
impl Unpin for GorConfig
impl UnsafeUnpin for GorConfig
impl UnwindSafe for GorConfig
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