Struct maturin::WheelMetadata
source · pub struct WheelMetadata {
pub metadata23: Metadata23,
pub scripts: HashMap<String, String>,
pub module_name: String,
}
Expand description
The metadata required to generate the .dist-info directory
Fields§
§metadata23: Metadata23
Python Package Metadata 2.3
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 metadata23
Trait Implementations§
source§impl Clone for WheelMetadata
impl Clone for WheelMetadata
source§fn clone(&self) -> WheelMetadata
fn clone(&self) -> WheelMetadata
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 WheelMetadata
impl Debug for WheelMetadata
source§impl<'de> Deserialize<'de> for WheelMetadata
impl<'de> Deserialize<'de> for WheelMetadata
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 WheelMetadata
impl PartialEq for WheelMetadata
source§fn eq(&self, other: &WheelMetadata) -> bool
fn eq(&self, other: &WheelMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WheelMetadata
impl Serialize for WheelMetadata
impl Eq for WheelMetadata
impl StructuralPartialEq for WheelMetadata
Auto Trait Implementations§
impl Freeze for WheelMetadata
impl RefUnwindSafe for WheelMetadata
impl Send for WheelMetadata
impl Sync for WheelMetadata
impl Unpin for WheelMetadata
impl UnwindSafe for WheelMetadata
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.