Struct check_graphite::args::Args[][src]

pub(crate) struct Args {
    pub url: String,
    pub path: String,
    pub assertions: Vec<Assertion>,
    pub window: i64,
    pub start_at: i64,
    pub retries: u8,
    pub graphite_error: Status,
    pub no_data: Status,
    pub print_url: bool,
}

Fields

url: Stringpath: Stringassertions: Vec<Assertion>window: i64start_at: i64retries: u8graphite_error: Statusno_data: Statusprint_url: bool

Implementations

impl Args[src]

pub fn parse() -> Args[src]

Parse all arguments provided at the command line

fn from_args(args: ArgMatches<'_>) -> Args[src]

Trait Implementations

impl Debug for Args[src]

impl PartialEq<Args> for Args[src]

impl StructuralPartialEq for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.