pub struct PreheatPlanRequest {
pub crate_name: CrateName,
pub version: Option<CrateVersion>,
pub features_json: FeaturesJson,
pub target: Option<TargetTriple>,
pub rustc_version: Option<WireRustcVersion>,
}Expand description
Request body for POST /api/v1/admin/preheat/plan — a dry run of the
resolver’s closure expansion and dominance pruning for one crate
request. Nothing is enqueued.
Fields§
§crate_name: CrateNameCrate name to plan for.
version: Option<CrateVersion>Exact version; absent resolves the newest non-prerelease, non-yanked published release.
features_json: FeaturesJsonSeed features ([] = --no-default-features semantics).
target: Option<TargetTriple>One compilation target, or absent for every CI_TARGET_TRIPLES
target.
rustc_version: Option<WireRustcVersion>Rustc version; absent resolves the scheduler’s stable channel version.
Trait Implementations§
Source§impl Clone for PreheatPlanRequest
impl Clone for PreheatPlanRequest
Source§impl ComposeSchema for PreheatPlanRequest
impl ComposeSchema for PreheatPlanRequest
Source§impl Debug for PreheatPlanRequest
impl Debug for PreheatPlanRequest
Source§impl<'de> Deserialize<'de> for PreheatPlanRequest
impl<'de> Deserialize<'de> for PreheatPlanRequest
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 PreheatPlanRequest
Source§impl PartialEq for PreheatPlanRequest
impl PartialEq for PreheatPlanRequest
Source§impl Serialize for PreheatPlanRequest
impl Serialize for PreheatPlanRequest
impl StructuralPartialEq for PreheatPlanRequest
Auto Trait Implementations§
impl Freeze for PreheatPlanRequest
impl RefUnwindSafe for PreheatPlanRequest
impl Send for PreheatPlanRequest
impl Sync for PreheatPlanRequest
impl Unpin for PreheatPlanRequest
impl UnsafeUnpin for PreheatPlanRequest
impl UnwindSafe for PreheatPlanRequest
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.