Struct pleaser::EnvOptions
source · pub struct EnvOptions {Show 32 fields
pub name: Option<String>,
pub exact_name: Option<String>,
pub rule: Option<String>,
pub exact_rule: Option<String>,
pub notbefore: Option<NaiveDateTime>,
pub notafter: Option<NaiveDateTime>,
pub datematch: Option<String>,
pub target: Option<String>,
pub exact_target: Option<String>,
pub target_group: Option<String>,
pub exact_target_group: Option<String>,
pub hostname: Option<String>,
pub exact_hostname: Option<String>,
pub permit: Option<bool>,
pub require_pass: Option<bool>,
pub acl_type: Acltype,
pub file_name: String,
pub section: String,
pub group: bool,
pub configured: bool,
pub dir: Option<String>,
pub exact_dir: Option<String>,
pub exitcmd: Option<String>,
pub edit_mode: Option<EditMode>,
pub reason: Option<ReasonType>,
pub last: Option<bool>,
pub syslog: Option<bool>,
pub env_permit: Option<String>,
pub env_assign: Option<HashMap<String, String>>,
pub timeout: Option<u32>,
pub search_path: Option<String>,
pub token_timeout: Option<u64>,
}
Fields§
§name: Option<String>
§exact_name: Option<String>
§rule: Option<String>
§exact_rule: Option<String>
§notbefore: Option<NaiveDateTime>
§notafter: Option<NaiveDateTime>
§datematch: Option<String>
§target: Option<String>
§exact_target: Option<String>
§target_group: Option<String>
§exact_target_group: Option<String>
§hostname: Option<String>
§exact_hostname: Option<String>
§permit: Option<bool>
§require_pass: Option<bool>
§acl_type: Acltype
§file_name: String
§section: String
§group: bool
§configured: bool
§dir: Option<String>
§exact_dir: Option<String>
§exitcmd: Option<String>
§edit_mode: Option<EditMode>
§reason: Option<ReasonType>
§last: Option<bool>
§syslog: Option<bool>
§env_permit: Option<String>
§env_assign: Option<HashMap<String, String>>
§timeout: Option<u32>
§search_path: Option<String>
§token_timeout: Option<u64>
Implementations§
source§impl EnvOptions
impl EnvOptions
pub fn new() -> EnvOptions
pub fn permit(&self) -> bool
pub fn require_pass(&self) -> bool
Trait Implementations§
source§impl Clone for EnvOptions
impl Clone for EnvOptions
source§fn clone(&self) -> EnvOptions
fn clone(&self) -> EnvOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnvOptions
impl Debug for EnvOptions
Auto Trait Implementations§
impl Freeze for EnvOptions
impl RefUnwindSafe for EnvOptions
impl Send for EnvOptions
impl Sync for EnvOptions
impl Unpin for EnvOptions
impl UnwindSafe for EnvOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)