pub struct EnqueueRequest {
pub crate_name: CrateName,
pub version: CrateVersion,
pub features_json: FeaturesJson,
pub target: TargetTriple,
pub rustc_version: WireRustcVersion,
pub downloads: u64,
pub source: EnqueueSource,
pub depends_on: Vec<EnqueueDependency>,
pub preserve_lockfile: bool,
pub project_source: Option<ProjectSource>,
}Expand description
Request body for scheduler task submission.
Fields§
§crate_name: CrateNameCrate name to build.
version: CrateVersionCrate version to build.
features_json: FeaturesJsonCanonical features list.
target: TargetTripleCompilation target triple.
rustc_version: WireRustcVersionStable rustc version.
downloads: u64Total download count from crates.io (used for priority calculation).
source: EnqueueSourceSource of the enqueue request.
depends_on: Vec<EnqueueDependency>Task-level dependencies that must be completed before this task can dispatch.
preserve_lockfile: boolMirrors BuildTaskPayload::preserve_lockfile. Set to true for binary-
derived overlay enqueues so the trusted build resolves transitive deps
against the binary’s published Cargo.lock.
project_source: Option<ProjectSource>Mirrors BuildTaskPayload::project_source: when set, the task builds
the named git checkout with its own Cargo.lock rather than a
crates.io tarball. Part of the queue identity — a project task and a
crate tarball task for the same crate_name/version never
deduplicate.
Implementations§
Source§impl EnqueueRequest
impl EnqueueRequest
Sourcepub const fn uses_source_lockfile(&self) -> bool
pub const fn uses_source_lockfile(&self) -> bool
Whether the build resolves against the lockfile the source ships —
the same rule BuildTaskPayload::uses_source_lockfile applies once
the task reaches the runner.
Trait Implementations§
Source§impl Clone for EnqueueRequest
impl Clone for EnqueueRequest
Source§impl ComposeSchema for EnqueueRequest
impl ComposeSchema for EnqueueRequest
Source§impl Debug for EnqueueRequest
impl Debug for EnqueueRequest
Source§impl<'de> Deserialize<'de> for EnqueueRequest
impl<'de> Deserialize<'de> for EnqueueRequest
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>,
impl Eq for EnqueueRequest
Source§impl PartialEq for EnqueueRequest
impl PartialEq for EnqueueRequest
Source§impl Serialize for EnqueueRequest
impl Serialize for EnqueueRequest
impl StructuralPartialEq for EnqueueRequest
Auto Trait Implementations§
impl Freeze for EnqueueRequest
impl RefUnwindSafe for EnqueueRequest
impl Send for EnqueueRequest
impl Sync for EnqueueRequest
impl Unpin for EnqueueRequest
impl UnsafeUnpin for EnqueueRequest
impl UnwindSafe for EnqueueRequest
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
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
key and return true if they are equal.