Struct guppy::graph::summaries::ThirdPartySummary [−][src]
pub struct ThirdPartySummary {
pub name: String,
pub version: VersionReq,
pub source: ThirdPartySource,
}
Expand description
A selector for external, third-party packages.
A ThirdPartySummary
is used to specify one or more packages based on the information
specified. Package names are required, but all other fields are optional.
Requires the summaries
feature to be enabled.
Fields
name: String
The name of the package. Must be specified.
version: VersionReq
A version specifier for the package. Can be skipped: defaults to VersionReq::STAR
.
source: ThirdPartySource
Where this package can be found. Can be skipped, in which case the source defaults to
crates.io
.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ThirdPartySummary
impl Send for ThirdPartySummary
impl Sync for ThirdPartySummary
impl Unpin for ThirdPartySummary
impl UnwindSafe for ThirdPartySummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.