[][src]Struct pleaser::util::EnvOptions

pub struct EnvOptions {
    pub name: String,
    pub rule: String,
    pub notbefore: Option<NaiveDateTime>,
    pub notafter: Option<NaiveDateTime>,
    pub datematch: Option<String>,
    pub target: String,
    pub hostname: Option<String>,
    pub permit: bool,
    pub require_pass: bool,
    pub acl_type: ACLTYPE,
    pub file_name: String,
    pub section: String,
    pub group: bool,
    pub configured: bool,
    pub dir: Option<String>,
    pub exitcmd: Option<String>,
    pub edit_mode: Option<i32>,
    pub reason: bool,
    pub last: bool,
}

Fields

name: Stringrule: Stringnotbefore: Option<NaiveDateTime>notafter: Option<NaiveDateTime>datematch: Option<String>target: Stringhostname: Option<String>permit: boolrequire_pass: boolacl_type: ACLTYPEfile_name: Stringsection: Stringgroup: boolconfigured: booldir: Option<String>exitcmd: Option<String>edit_mode: Option<i32>reason: boollast: bool

Implementations

impl EnvOptions[src]

pub fn new() -> EnvOptions[src]

Trait Implementations

impl Clone for EnvOptions[src]

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

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

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.