pub struct CiVerdictBody {
pub schema_version: u32,
pub repo: String,
pub state: StateRef,
pub basis: Basis,
pub check: CheckDescriptor,
pub outcome: Outcome,
pub execution: Execution,
pub log: Option<LogRef>,
pub repro: Repro,
pub check_set_digest: Option<String>,
}Expand description
The complete conclusion-bearing content of a CI verdict.
Fields§
§schema_version: u32Canonical body schema version.
repo: StringRepository this verdict describes.
state: StateRefSource state that was evaluated.
basis: BasisBranch or speculative-merge basis actually evaluated.
check: CheckDescriptorCheck identity and resolved parameters.
outcome: OutcomeTerminal conclusion and optional failure detail.
execution: ExecutionRunner and timing metadata.
log: Option<LogRef>Finalized log reference; log bytes are never inlined.
repro: ReproExact local reproduction recipe.
check_set_digest: Option<String>Canonical CheckSet digest used with check.node_id for authoritative gates.
Implementations§
Source§impl CiVerdictBody
impl CiVerdictBody
Sourcepub fn canonical_bytes(&self) -> Vec<u8> ⓘ
pub fn canonical_bytes(&self) -> Vec<u8> ⓘ
Deterministic bytes hashed into Self::content_hash.
Sourcepub fn content_hash(&self) -> ContentHash
pub fn content_hash(&self) -> ContentHash
BLAKE3 ContentHash of the canonical body bytes.
Trait Implementations§
Source§impl Clone for CiVerdictBody
impl Clone for CiVerdictBody
Source§fn clone(&self) -> CiVerdictBody
fn clone(&self) -> CiVerdictBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CiVerdictBody
impl Debug for CiVerdictBody
Source§impl Default for CiVerdictBody
impl Default for CiVerdictBody
Source§fn default() -> CiVerdictBody
fn default() -> CiVerdictBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CiVerdictBody
impl<'de> Deserialize<'de> for CiVerdictBody
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 CiVerdictBody
Source§impl PartialEq for CiVerdictBody
impl PartialEq for CiVerdictBody
Source§impl Serialize for CiVerdictBody
impl Serialize for CiVerdictBody
impl StructuralPartialEq for CiVerdictBody
Auto Trait Implementations§
impl Freeze for CiVerdictBody
impl RefUnwindSafe for CiVerdictBody
impl Send for CiVerdictBody
impl Sync for CiVerdictBody
impl Unpin for CiVerdictBody
impl UnsafeUnpin for CiVerdictBody
impl UnwindSafe for CiVerdictBody
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