pub struct ProjectSource {
pub url: String,
pub commit: String,
pub manifest_path: String,
}Expand description
A git checkout the trusted build compiles instead of a crates.io
tarball, resolved by the checkout’s own Cargo.lock.
Fields§
§url: StringGit URL the runner clones (https in production; a local path is accepted so the dev dispatch server can clone a worktree).
commit: StringFull commit SHA the checkout is pinned to. An immutable ref keeps a moving branch from swapping the compiled code between enqueue and build.
manifest_path: StringManifest path relative to the repository root (Cargo.toml for a
workspace-root manifest).
Trait Implementations§
Source§impl Clone for ProjectSource
impl Clone for ProjectSource
Source§impl ComposeSchema for ProjectSource
impl ComposeSchema for ProjectSource
Source§impl Debug for ProjectSource
impl Debug for ProjectSource
Source§impl<'de> Deserialize<'de> for ProjectSource
impl<'de> Deserialize<'de> for ProjectSource
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
impl Eq for ProjectSource
Source§impl PartialEq for ProjectSource
impl PartialEq for ProjectSource
Source§impl Serialize for ProjectSource
impl Serialize for ProjectSource
impl StructuralPartialEq for ProjectSource
Auto Trait Implementations§
impl Freeze for ProjectSource
impl RefUnwindSafe for ProjectSource
impl Send for ProjectSource
impl Sync for ProjectSource
impl Unpin for ProjectSource
impl UnsafeUnpin for ProjectSource
impl UnwindSafe for ProjectSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.