[][src]Struct krecik::checks::generic::GenCheck

pub struct GenCheck {
    pub domains: Option<Domains>,
    pub pages: Option<Pages>,
    pub alert_webhook: Option<String>,
    pub alert_channel: Option<String>,
}

NOTE: Pigeon (previous implementation) supported list of checks per file. TravMole will require each JSON to be separate file. Decission is justified by lack of JSON comment ability, and other file-specific and sync troubles, but also for future editing/ enable/ disable abilities that would be much more complicated with support of several checks per file. Generic Check structure:

Fields

domains: Option<Domains>

Domains to check

pages: Option<Pages>

Pages to check

alert_webhook: Option<String>

Slack Webhook

alert_channel: Option<String>

Slack alert channel

Trait Implementations

impl Checks<GenCheck> for GenCheck[src]

impl Clone for GenCheck[src]

impl Debug for GenCheck[src]

impl Default for GenCheck[src]

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

impl Serialize for GenCheck[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,