Enum guppy::graph::summaries::ThirdPartySource [−][src]
#[non_exhaustive]
pub enum ThirdPartySource {
Path(Utf8PathBuf),
Registry(Option<String>),
Git {
repo: String,
req: GitReqSummary,
},
Url(String),
}
Expand description
Describes locations where non-workspace packages (path or external) can be found.
This is a serializable form of part of PackageSource
, and is used by ThirdPartySummary
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Path(Utf8PathBuf)
Tuple Fields
0: Utf8PathBuf
A path dependency, relative to the workspace root.
Registry(Option<String>)
A dependency on a registry. crates.io
is represented as None
.
This should be the short name of the registry.
Git
Fields
repo: String
The repository path.
req: GitReqSummary
The Git branch, tag or revision, if specified.
A dependency on a Git repository.
Contains the name of the Git repository, plus an optional branch, tag or revision identifier.
Url(String)
Tuple Fields
0: String
A URL not otherwise recognized.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThirdPartySource
impl Send for ThirdPartySource
impl Sync for ThirdPartySource
impl Unpin for ThirdPartySource
impl UnwindSafe for ThirdPartySource
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.