[][src]Struct git_checks::config::ThirdPartyConfig

pub struct ThirdPartyConfig { /* fields omitted */ }

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

impl Debug for ThirdPartyConfig[src]

impl<'de> Deserialize<'de> for ThirdPartyConfig[src]

impl IntoCheck for ThirdPartyConfig[src]

type Check = ThirdParty

The check parsed by this configuration.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]