Skip to main content

TemporaryRefReconcileRequest

Struct TemporaryRefReconcileRequest 

Source
pub struct TemporaryRefReconcileRequest<'a> {
Show 13 fields pub repository: &'a Repository, pub source_repository: &'a str, pub trusted_source_ref: &'a TrustedSourceRef, pub source_revision: &'a CommitSha, pub snapshot_source_ref: Option<&'a GitSnapshotSourceRef>, pub temporary_ref: &'a TemporaryGitRef, pub workflow_path: &'a str, pub workflow_bytes: &'a [u8], pub workflow_fingerprint: &'a WorkflowFingerprint, pub manifest_bytes: &'a [u8], pub operation_id: &'a str, pub created_at_ms: u64, pub expected_prepared_commit: &'a CommitSha,
}
Expand description

Exact immutable inputs for read-only crash reconciliation of one temporary ref.

Fields§

§repository: &'a Repository

Exact GitHub execution repository.

§source_repository: &'a str

Normalized source repository used for trusted-ref ancestry verification.

§trusted_source_ref: &'a TrustedSourceRef

Trusted source branch or tag whose workflow and ancestry must be revalidated.

§source_revision: &'a CommitSha

Exact requested source revision that must remain reachable from the trusted ref.

§snapshot_source_ref: Option<&'a GitSnapshotSourceRef>

Exact custom Git snapshot source ref; absent for ordinary trusted Git source.

§temporary_ref: &'a TemporaryGitRef

Provider-created temporary ref to inspect.

§workflow_path: &'a str

Repository-relative approved workflow path.

§workflow_bytes: &'a [u8]

Exact approved workflow bytes.

§workflow_fingerprint: &'a WorkflowFingerprint

Approved digest of the trusted workflow bytes.

§manifest_bytes: &'a [u8]

Exact strict request-manifest bytes.

§operation_id: &'a str

Stable operation identifier used to reconstruct the deterministic commit.

§created_at_ms: u64

Original provider creation timestamp used in deterministic Git author metadata.

§expected_prepared_commit: &'a CommitSha

Exact dispatch commit prepared and checkpointed before the remote mutation boundary.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.