Enum cronparse::crontab::CrontabEntry [] [src]

pub enum CrontabEntry {
    EnvVar(EnvVarEntry),
    User(UserCrontabEntry),
    System(SystemCrontabEntry),
    Anacron(AnacrontabEntry),
}

Variants

EnvVar
User
System
Anacron

Methods

impl CrontabEntry

fn period<'a>(&'a self) -> Option<&'a Period>

fn calendar<'a>(&'a self) -> Option<&'a Calendar>

fn command<'a>(&'a self) -> Option<&'a str>

fn user<'a>(&'a self) -> Option<&'a str>

fn group<'a>(&'a self) -> Option<&'a str>

Trait Implementations

impl From<UserCrontabEntry> for CrontabEntry

fn from(entry: UserCrontabEntry) -> CrontabEntry

impl From<SystemCrontabEntry> for CrontabEntry

fn from(entry: SystemCrontabEntry) -> CrontabEntry

impl From<AnacrontabEntry> for CrontabEntry

fn from(entry: AnacrontabEntry) -> CrontabEntry

impl From<EnvVarEntry> for CrontabEntry

fn from(entry: EnvVarEntry) -> CrontabEntry

impl Display for CrontabEntry

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

Derived Implementations

impl PartialEq for CrontabEntry

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

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

impl Debug for CrontabEntry

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