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)
A path dependency, relative to the workspace root.
Tuple Fields of Path
0: Utf8PathBuf
A dependency on a registry. crates.io
is represented as None
.
This must currently be the full URL, not the short name. This will be switched to the short name once Cargo issue #9052 is fixed.
A dependency on a Git repository.
Contains the name of the Git repository, plus an optional branch, tag or revision identifier.
Fields of Git
Url(String)
A URL not otherwise recognized.
Tuple Fields of Url
0: String
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.