Struct deno_config::ConfigFileJson
source · pub struct ConfigFileJson {Show 19 fields
pub compiler_options: Option<Value>,
pub import_map: Option<String>,
pub imports: Option<Value>,
pub scopes: Option<Value>,
pub lint: Option<Value>,
pub fmt: Option<Value>,
pub tasks: Option<Value>,
pub test: Option<Value>,
pub bench: Option<Value>,
pub lock: Option<Value>,
pub exclude: Option<Value>,
pub node_modules_dir: Option<bool>,
pub vendor: Option<bool>,
pub publish: Option<Value>,
pub name: Option<String>,
pub version: Option<String>,
pub workspaces: Vec<String>,
pub exports: Option<Value>,
pub unstable: Vec<String>,
}
Fields§
§compiler_options: Option<Value>
§import_map: Option<String>
§imports: Option<Value>
§scopes: Option<Value>
§lint: Option<Value>
§fmt: Option<Value>
§tasks: Option<Value>
§test: Option<Value>
§bench: Option<Value>
§lock: Option<Value>
§exclude: Option<Value>
§node_modules_dir: Option<bool>
§vendor: Option<bool>
§publish: Option<Value>
§name: Option<String>
§version: Option<String>
§workspaces: Vec<String>
§exports: Option<Value>
§unstable: Vec<String>
Trait Implementations§
source§impl Clone for ConfigFileJson
impl Clone for ConfigFileJson
source§fn clone(&self) -> ConfigFileJson
fn clone(&self) -> ConfigFileJson
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 ConfigFileJson
impl Debug for ConfigFileJson
source§impl<'de> Deserialize<'de> for ConfigFileJson
impl<'de> Deserialize<'de> for ConfigFileJson
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConfigFileJson
impl PartialEq for ConfigFileJson
source§fn eq(&self, other: &ConfigFileJson) -> bool
fn eq(&self, other: &ConfigFileJson) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigFileJson
impl Serialize for ConfigFileJson
impl Eq for ConfigFileJson
impl StructuralEq for ConfigFileJson
impl StructuralPartialEq for ConfigFileJson
Auto Trait Implementations§
impl RefUnwindSafe for ConfigFileJson
impl Send for ConfigFileJson
impl Sync for ConfigFileJson
impl Unpin for ConfigFileJson
impl UnwindSafe for ConfigFileJson
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.