pub struct SourceGit {
pub repo: Url,
pub reference: GitReference,
}
Expand description
A git repo with a Forc.toml
manifest at its root.
Fields§
§repo: Url
The URL at which the repository is located.
reference: GitReference
A git reference, e.g. a branch or tag.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SourceGit
impl<'de> Deserialize<'de> for SourceGit
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 Ord for SourceGit
impl Ord for SourceGit
source§impl PartialEq<SourceGit> for SourceGit
impl PartialEq<SourceGit> for SourceGit
source§impl PartialOrd<SourceGit> for SourceGit
impl PartialOrd<SourceGit> for SourceGit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SourceGit
impl StructuralEq for SourceGit
impl StructuralPartialEq for SourceGit
Auto Trait Implementations§
impl RefUnwindSafe for SourceGit
impl Send for SourceGit
impl Sync for SourceGit
impl Unpin for SourceGit
impl UnwindSafe for SourceGit
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more