pub struct Rubygem {Show 24 fields
pub name: String,
pub downloads: usize,
pub version: String,
pub version_created_at: String,
pub version_downloads: usize,
pub platform: String,
pub authors: String,
pub info: String,
pub licenses: Vec<String>,
pub metadata: RubygemMetadata,
pub yanked: bool,
pub sha: String,
pub spec_sha: String,
pub project_uri: Url,
pub gem_uri: Url,
pub homepage_uri: Option<Url>,
pub wiki_uri: Option<Url>,
pub documentation_uri: Option<Url>,
pub mailing_list_uri: Option<Url>,
pub source_code_uri: Option<Url>,
pub bug_tracker_uri: Option<Url>,
pub changelog_uri: Option<Url>,
pub funding_uri: Option<Url>,
pub dependencies: RubygemDependencies,
}Expand description
Complete Ruby gem metadata
Fields§
§name: StringGem name
downloads: usizeTotal downloads
version: StringVersion number
version_created_at: StringVersion creation timestamp
version_downloads: usizeDownloads for this version
platform: StringTarget platform
Authors
info: StringGem description
licenses: Vec<String>License information
metadata: RubygemMetadataAdditional metadata URIs
yanked: boolWhether version is yanked
sha: StringSHA hash
spec_sha: StringSpec SHA hash
project_uri: UrlProject URI
gem_uri: UrlGem download URI
homepage_uri: Option<Url>Homepage URI
wiki_uri: Option<Url>Wiki URI
documentation_uri: Option<Url>Documentation URI
mailing_list_uri: Option<Url>Mailing list URI
source_code_uri: Option<Url>Source code URI
bug_tracker_uri: Option<Url>Bug tracker URI
changelog_uri: Option<Url>Changelog URI
funding_uri: Option<Url>Funding URI
dependencies: RubygemDependenciesDependencies
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rubygem
impl<'de> Deserialize<'de> for Rubygem
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 TryFrom<Rubygem> for UpstreamMetadata
impl TryFrom<Rubygem> for UpstreamMetadata
Source§type Error = ProviderError
type Error = ProviderError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Rubygem
impl RefUnwindSafe for Rubygem
impl Send for Rubygem
impl Sync for Rubygem
impl Unpin for Rubygem
impl UnsafeUnpin for Rubygem
impl UnwindSafe for Rubygem
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.