pub struct SourcesConfig {
pub github: Option<GithubConfig>,
pub moz_phab: Option<MozPhabConfig>,
}Expand description
Each source is a fixed, hardcoded slot ([source.github], [source.moz-phab]) rather than a
list - there’s exactly one of each kind, and its id-namespace prefix (see
crate::source::github::NAME/crate::source::moz_phab::NAME) is likewise hardcoded, not
user-configurable.
Fields§
§github: Option<GithubConfig>§moz_phab: Option<MozPhabConfig>Mozilla’s Phabricator, via the moz-phab CLI - not a general-purpose Phabricator source.
See crate::source::moz_phab for why.
Trait Implementations§
Source§impl Clone for SourcesConfig
impl Clone for SourcesConfig
Source§impl Debug for SourcesConfig
impl Debug for SourcesConfig
Source§impl Default for SourcesConfig
impl Default for SourcesConfig
Source§impl<'de> Deserialize<'de> for SourcesConfig
impl<'de> Deserialize<'de> for SourcesConfig
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 SourcesConfig
impl RefUnwindSafe for SourcesConfig
impl Send for SourcesConfig
impl Sync for SourcesConfig
impl Unpin for SourcesConfig
impl UnsafeUnpin for SourcesConfig
impl UnwindSafe for SourcesConfig
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