pub struct PlatformFile {
pub url: String,
pub hash: String,
pub markers: Option<String>,
pub python: Option<String>,
pub tags: Option<String>,
}Expand description
Platform-specific file information
Fields§
§url: StringDownload URL
hash: StringHash for verification
markers: Option<String>Platform markers (e.g., “sys_platform == ‘win32’”)
python: Option<String>Python version constraint (e.g., “>=3.8”)
Wheel tags (e.g., “cp311-cp311-manylinux_2_17_x86_64”)
Trait Implementations§
Source§impl Clone for PlatformFile
impl Clone for PlatformFile
Source§fn clone(&self) -> PlatformFile
fn clone(&self) -> PlatformFile
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 PlatformFile
impl Debug for PlatformFile
Source§impl<'de> Deserialize<'de> for PlatformFile
impl<'de> Deserialize<'de> for PlatformFile
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 PlatformFile
impl RefUnwindSafe for PlatformFile
impl Send for PlatformFile
impl Sync for PlatformFile
impl Unpin for PlatformFile
impl UnwindSafe for PlatformFile
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