Struct cronparse::schedule::Hour [] [src]

pub struct Hour(pub u8);

Trait Implementations

impl Ord for Hour
[src]

fn cmp(&self, __arg_0: &Hour) -> Ordering

This method returns an Ordering between self and other. Read more

impl PartialOrd for Hour
[src]

fn partial_cmp(&self, __arg_0: &Hour) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, __arg_0: &Hour) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, __arg_0: &Hour) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, __arg_0: &Hour) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, __arg_0: &Hour) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for Hour
[src]

impl PartialEq for Hour
[src]

fn eq(&self, __arg_0: &Hour) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Hour) -> bool

This method tests for !=.

impl Copy for Hour
[src]

impl Clone for Hour
[src]

fn clone(&self) -> Hour

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for Hour
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Limited for Hour
[src]

fn min_value() -> Hour

fn max_value() -> Hour

impl Add<u8> for Hour
[src]

type Output = Hour

The resulting type after applying the + operator

fn add(self, rhs: u8) -> Hour

The method for the + operator

impl Display for Hour
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for Hour
[src]

type Err = ParseIntError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Houru8::Err>

Parses a string s to return a value of this type. Read more