Struct maturin::WheelMetadata
source · [−]pub struct WheelMetadata {
pub metadata21: Metadata21,
pub scripts: HashMap<String, String>,
pub module_name: String,
}
Expand description
The metadata required to generate the .dist-info directory
Fields
metadata21: Metadata21
Python Package Metadata 2.1
scripts: HashMap<String, String>
The [console_scripts]
for the entry_points.txt
module_name: String
The name of the module can be distinct from the package name, mostly because package names normally contain minuses while module names have underscores. The package name is part of metadata21
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WheelMetadata
impl Send for WheelMetadata
impl Sync for WheelMetadata
impl Unpin for WheelMetadata
impl UnwindSafe for WheelMetadata
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.