pub struct AppConfig {
pub default_branch_prefix: Option<String>,
}Fields§
§default_branch_prefix: Option<String>Implementations§
Source§impl AppConfig
impl AppConfig
pub fn config_path() -> Option<PathBuf>
pub fn load() -> Self
pub fn effective_default_sprint_prefix(&self) -> &str
pub fn effective_default_card_prefix(&self) -> &str
pub fn effective_default_prefix(&self) -> &str
👎Deprecated since 0.1.10: use effective_default_sprint_prefix or effective_default_card_prefix instead
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppConfig
impl<'de> Deserialize<'de> for AppConfig
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 AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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