pub struct VanConfig {
pub name: String,
pub version: String,
pub scripts: BTreeMap<String, String>,
pub dependencies: BTreeMap<String, String>,
pub dev_dependencies: BTreeMap<String, String>,
pub registry: Option<String>,
}Expand description
Represents the package.json project configuration file.
Fields§
§name: String§version: String§scripts: BTreeMap<String, String>§dependencies: BTreeMap<String, String>§dev_dependencies: BTreeMap<String, String>§registry: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VanConfig
impl<'de> Deserialize<'de> for VanConfig
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
Auto Trait Implementations§
impl Freeze for VanConfig
impl RefUnwindSafe for VanConfig
impl Send for VanConfig
impl Sync for VanConfig
impl Unpin for VanConfig
impl UnsafeUnpin for VanConfig
impl UnwindSafe for VanConfig
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