pub struct GlobalConfig {
pub config_path: PathBuf,
pub git_repo: String,
pub git_main_branch: String,
pub ssh_key: Option<String>,
pub key_needs_pw: bool,
pub home: PathBuf,
}
Fields§
§config_path: PathBuf
§git_repo: String
§git_main_branch: String
§ssh_key: Option<String>
§key_needs_pw: bool
§home: PathBuf
Implementations§
Trait Implementations§
Source§impl Debug for GlobalConfig
impl Debug for GlobalConfig
Source§impl Default for GlobalConfig
impl Default 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
Source§impl PartialEq for GlobalConfig
impl PartialEq for GlobalConfig
Source§impl Serialize for GlobalConfig
impl Serialize for GlobalConfig
impl StructuralPartialEq for GlobalConfig
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