pub struct ModulePackageEntry {
pub name: String,
pub min_version: Option<String>,
pub prefer: Vec<String>,
pub aliases: HashMap<String, String>,
pub script: Option<String>,
pub deny: Vec<String>,
pub platforms: Vec<String>,
}Fields§
§name: String§min_version: Option<String>§prefer: Vec<String>§aliases: HashMap<String, String>§script: Option<String>§deny: Vec<String>§platforms: Vec<String>Trait Implementations§
Source§impl Clone for ModulePackageEntry
impl Clone for ModulePackageEntry
Source§fn clone(&self) -> ModulePackageEntry
fn clone(&self) -> ModulePackageEntry
Returns a duplicate 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 ModulePackageEntry
impl Debug for ModulePackageEntry
Source§impl Default for ModulePackageEntry
impl Default for ModulePackageEntry
Source§fn default() -> ModulePackageEntry
fn default() -> ModulePackageEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModulePackageEntry
impl<'de> Deserialize<'de> for ModulePackageEntry
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 ModulePackageEntry
impl RefUnwindSafe for ModulePackageEntry
impl Send for ModulePackageEntry
impl Sync for ModulePackageEntry
impl Unpin for ModulePackageEntry
impl UnsafeUnpin for ModulePackageEntry
impl UnwindSafe for ModulePackageEntry
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