[][src]Struct deno_cli::flags::DenoFlags

pub struct DenoFlags {
    pub log_level: Option<Level>,
    pub version: bool,
    pub reload: bool,
    pub config_path: Option<String>,
    pub import_map_path: Option<String>,
    pub allow_read: bool,
    pub read_whitelist: Vec<String>,
    pub allow_write: bool,
    pub write_whitelist: Vec<String>,
    pub allow_net: bool,
    pub net_whitelist: Vec<String>,
    pub allow_env: bool,
    pub allow_run: bool,
    pub allow_hrtime: bool,
    pub no_prompts: bool,
    pub no_fetch: bool,
    pub seed: Option<u64>,
    pub v8_flags: Option<Vec<String>>,
    pub xeval_replvar: Option<String>,
    pub xeval_delim: Option<String>,
    pub current_thread: bool,
}

Fields

log_level: Option<Level>version: boolreload: boolconfig_path: Option<String>

When the --config/-c flag is used to pass the name, this will be set the path passed on the command line, otherwise None.

import_map_path: Option<String>

When the --importmap flag is used to pass the name, this will be set the path passed on the command line, otherwise None.

allow_read: boolread_whitelist: Vec<String>allow_write: boolwrite_whitelist: Vec<String>allow_net: boolnet_whitelist: Vec<String>allow_env: boolallow_run: boolallow_hrtime: boolno_prompts: boolno_fetch: boolseed: Option<u64>v8_flags: Option<Vec<String>>xeval_replvar: Option<String>xeval_delim: Option<String>current_thread: bool

Trait Implementations

impl Default for DenoFlags[src]

impl Clone for DenoFlags[src]

impl PartialEq<DenoFlags> for DenoFlags[src]

impl Debug for DenoFlags[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T, F> ComparatorFunction<Option<T>> for F where
    F: ComparatorFunction<T>, 
[src]