pub struct AdmissionExpectations {
pub contract_version: u64,
pub producer_name: &'static str,
pub engine_revision: &'static str,
pub dependency_fingerprint: &'static str,
pub context_schema_version: u64,
pub profile: Profile,
pub head_sha: Option<String>,
}Expand description
What one admission call checks a candidate against.
Fields§
§contract_version: u64The wire-contract version the candidate must declare.
producer_name: &'static strThe producer name the candidate must declare.
engine_revision: &'static strThe engine revision the candidate must report.
dependency_fingerprint: &'static strThe dependency fingerprint the candidate must report.
context_schema_version: u64The compilation-context envelope version the candidate must embed.
profile: ProfileThe profile the caller requested of the engine.
head_sha: Option<String>This checkout’s own HEAD commit, or None outside a git repository.
None skips the source-snapshot check rather than refusing every
candidate on a checkout admission cannot identify.
Trait Implementations§
Source§impl Clone for AdmissionExpectations
impl Clone for AdmissionExpectations
Auto Trait Implementations§
impl Freeze for AdmissionExpectations
impl RefUnwindSafe for AdmissionExpectations
impl Send for AdmissionExpectations
impl Sync for AdmissionExpectations
impl Unpin for AdmissionExpectations
impl UnsafeUnpin for AdmissionExpectations
impl UnwindSafe for AdmissionExpectations
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more