pub struct GithubArtifactExpectation { /* private fields */ }Expand description
Trusted identifiers obtained independently from the submitted request and exact GitHub workflow run.
Implementations§
Source§impl GithubArtifactExpectation
impl GithubArtifactExpectation
Sourcepub fn new(
job_id: impl Into<String>,
provider: impl Into<String>,
request: IosDeviceBuildRequest,
compile: CompilePhaseEvidence,
) -> Result<Self, GithubArtifactError>
pub fn new( job_id: impl Into<String>, provider: impl Into<String>, request: IosDeviceBuildRequest, compile: CompilePhaseEvidence, ) -> Result<Self, GithubArtifactError>
Bind final signed output to one independently verified compile handoff.
§Errors
Rejects unsafe identifiers or non-canonical SHA-256 digests.
Sourcepub fn operation_id(&self) -> &str
pub fn operation_id(&self) -> &str
Expected client operation identifier.
Sourcepub fn request(&self) -> &IosDeviceBuildRequest
pub fn request(&self) -> &IosDeviceBuildRequest
Complete submitted request independently recovered from the compile handoff.
Sourcepub fn compile(&self) -> &CompilePhaseEvidence
pub fn compile(&self) -> &CompilePhaseEvidence
Independently verified compile evidence required by the protected signer.
Trait Implementations§
Source§impl Clone for GithubArtifactExpectation
impl Clone for GithubArtifactExpectation
Source§impl Debug for GithubArtifactExpectation
impl Debug for GithubArtifactExpectation
impl StructuralPartialEq for GithubArtifactExpectation
Auto Trait Implementations§
impl Freeze for GithubArtifactExpectation
impl RefUnwindSafe for GithubArtifactExpectation
impl Send for GithubArtifactExpectation
impl Sync for GithubArtifactExpectation
impl Unpin for GithubArtifactExpectation
impl UnsafeUnpin for GithubArtifactExpectation
impl UnwindSafe for GithubArtifactExpectation
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