Skip to main content

TemporaryRefPublishRequest

Struct TemporaryRefPublishRequest 

Source
pub struct TemporaryRefPublishRequest<'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 authorized: bool,
}
Expand description

Read-only inputs supplied to one temporary-ref publication.

Fields§

§repository: &'a Repository

Exact GitHub repository.

§source_repository: &'a str

Normalized HTTPS repository URL.

§trusted_source_ref: &'a TrustedSourceRef

Trusted branch or tag containing the source revision.

§source_revision: &'a CommitSha

Exact source commit selected by the caller.

§snapshot_source_ref: Option<&'a GitSnapshotSourceRef>

Exact custom source ref for a Git snapshot; absent for ordinary Git requests.

§temporary_ref: &'a TemporaryGitRef

Create-only target below the configured temporary namespace.

§workflow_path: &'a str

Repository-relative approved workflow path.

§workflow_bytes: &'a [u8]

Approved workflow bytes.

§workflow_fingerprint: &'a WorkflowFingerprint

Approved workflow digest.

§manifest_bytes: &'a [u8]

Strict request-manifest bytes.

§operation_id: &'a str

Safe operation identifier used for local isolation.

§created_at_ms: u64

Milliseconds since Unix epoch, used for deterministic commit metadata.

§authorized: bool

Explicit caller authorization for this push.

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.