pub struct PypiUrl {Show 13 fields
pub comment_text: String,
pub digests: Digests,
pub filename: String,
pub has_sig: bool,
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
PyPI URL information for a release artifact
Fields§
§comment_text: StringComment text for this URL
digests: DigestsCryptographic digests for this URL
filename: StringFilename for this URL
has_sig: boolWhether this URL has a signature
packagetype: StringPackage type for this URL
python_version: StringTarget Python version for this URL
requires_python: Option<String>Required Python version for this URL
size: isizeFile size in bytes for this URL
upload_time: StringUpload timestamp for this URL
upload_time_iso_8601: StringUpload timestamp in ISO 8601 format for this URL
url: StringThe actual download URL
yanked: boolWhether this URL release is yanked
yanked_reason: Option<String>Reason for yanking this URL release
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PypiUrl
impl<'de> Deserialize<'de> for PypiUrl
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 PypiUrl
impl RefUnwindSafe for PypiUrl
impl Send for PypiUrl
impl Sync for PypiUrl
impl Unpin for PypiUrl
impl UnsafeUnpin for PypiUrl
impl UnwindSafe for PypiUrl
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.