Struct git_checks::config::ThirdPartyConfig
source · [−]pub struct ThirdPartyConfig { /* private fields */ }
Expand description
Configuration for the ThirdParty
check.
All keys are required and strings. The name
and script
keys are informational and only
appear in messages. Any modifications at path
are checked to ensure that they are tracked
on an “import branch” rooted with the given commit specified by the root
key.
This check is registered as a commit check with the name "third_party"
.
Example
{
"name": "extlib",
"path": "path/to/import/of/extlib",
"root": "root commit",
"script": "path/to/update/script"
}
Trait Implementations
sourceimpl Debug for ThirdPartyConfig
impl Debug for ThirdPartyConfig
sourceimpl<'de> Deserialize<'de> for ThirdPartyConfig
impl<'de> Deserialize<'de> for ThirdPartyConfig
sourcefn 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
sourceimpl IntoCheck for ThirdPartyConfig
impl IntoCheck for ThirdPartyConfig
type Check = ThirdParty
type Check = ThirdParty
The check parsed by this configuration.
sourcefn into_check(self) -> Self::Check
fn into_check(self) -> Self::Check
Create a new instance of the check from the configuration.
Auto Trait Implementations
impl RefUnwindSafe for ThirdPartyConfig
impl Send for ThirdPartyConfig
impl Sync for ThirdPartyConfig
impl Unpin for ThirdPartyConfig
impl UnwindSafe for ThirdPartyConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more