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 RepositoryExact GitHub repository.
source_repository: &'a strNormalized HTTPS repository URL.
trusted_source_ref: &'a TrustedSourceRefTrusted branch or tag containing the source revision.
source_revision: &'a CommitShaExact 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 TemporaryGitRefCreate-only target below the configured temporary namespace.
workflow_path: &'a strRepository-relative approved workflow path.
workflow_bytes: &'a [u8]Approved workflow bytes.
workflow_fingerprint: &'a WorkflowFingerprintApproved workflow digest.
manifest_bytes: &'a [u8]Strict request-manifest bytes.
operation_id: &'a strSafe operation identifier used for local isolation.
created_at_ms: u64Milliseconds since Unix epoch, used for deterministic commit metadata.
Explicit caller authorization for this push.
Auto Trait Implementations§
impl<'a> Freeze for TemporaryRefPublishRequest<'a>
impl<'a> RefUnwindSafe for TemporaryRefPublishRequest<'a>
impl<'a> Send for TemporaryRefPublishRequest<'a>
impl<'a> Sync for TemporaryRefPublishRequest<'a>
impl<'a> Unpin for TemporaryRefPublishRequest<'a>
impl<'a> UnsafeUnpin for TemporaryRefPublishRequest<'a>
impl<'a> UnwindSafe for TemporaryRefPublishRequest<'a>
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