pub struct PypiRelease {Show 15 fields
pub comment_text: String,
pub digests: Digests,
pub downloads: isize,
pub filename: String,
pub has_sig: bool,
pub md5_digest: String,
pub packagetype: String,
pub python_version: String,
pub requires_python: Option<String>,
pub size: isize,
pub upload_time: String,
pub upload_time_iso_8601: String,
pub url: String,
pub yanked: bool,
pub yanked_reason: Option<String>,
}Expand description
Information about a specific PyPI release
Fields§
§comment_text: StringRelease comment text
digests: DigestsCryptographic digests for this release
downloads: isizeNumber of downloads
filename: StringRelease filename
has_sig: boolWhether the release has a signature
md5_digest: StringMD5 digest of the release file
packagetype: StringPackage type (e.g., sdist, bdist_wheel)
python_version: StringTarget Python version
requires_python: Option<String>Required Python version for this release
size: isizeFile size in bytes
upload_time: StringUpload timestamp
upload_time_iso_8601: StringUpload timestamp in ISO 8601 format
url: StringDownload URL for this release
yanked: boolWhether this release is yanked
yanked_reason: Option<String>Reason for yanking this release
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PypiRelease
impl<'de> Deserialize<'de> for PypiRelease
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 PypiRelease
impl RefUnwindSafe for PypiRelease
impl Send for PypiRelease
impl Sync for PypiRelease
impl Unpin for PypiRelease
impl UnsafeUnpin for PypiRelease
impl UnwindSafe for PypiRelease
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.