pub struct ArtifactManifest {Show 27 fields
pub schema_version: u32,
pub operation_id: String,
pub job_id: String,
pub project_id: String,
pub source_repository: Option<String>,
pub source_revision: Option<String>,
pub source_snapshot: bool,
pub source_sha256: String,
pub cargo_lock_sha256: String,
pub config_sha256: String,
pub rustferry_version: String,
pub worker_version: String,
pub provider: String,
pub toolchain: AppleToolchainEvidence,
pub app_name: String,
pub app_version: String,
pub build_number: String,
pub bundle_identifier: String,
pub build_profile: String,
pub architecture: String,
pub signing: ArtifactSigningEvidence,
pub extensions: Vec<String>,
pub artifacts: Vec<ArtifactRecord>,
pub validation_levels: BTreeSet<ValidationLevel>,
pub started_at: String,
pub finished_at: String,
pub cleanup_status: CleanupStatus,
}Expand description
Immutable manifest binding source, worker, signing, and downloaded bytes.
Fields§
§schema_version: u32Artifact schema version.
operation_id: StringClient operation ID.
job_id: StringProvider job ID.
project_id: StringStable project ID.
source_repository: Option<String>Source repository URL when Git source mode is used.
source_revision: Option<String>Exact commit SHA when Git source mode is used.
source_snapshot: boolWhether explicit snapshot mode represented local changes.
source_sha256: StringDeterministic source-manifest digest.
cargo_lock_sha256: StringCargo lockfile digest.
config_sha256: StringProject configuration digest.
rustferry_version: StringRustFerry client version.
worker_version: StringRemote worker version.
provider: StringProvider identifier.
toolchain: AppleToolchainEvidenceApple and Rust toolchain evidence.
app_name: StringApplication display name.
app_version: StringApplication semantic version.
build_number: StringApplication build number.
bundle_identifier: StringMain bundle identifier.
build_profile: StringCargo/Xcode build profile.
architecture: StringRequired device architecture.
signing: ArtifactSigningEvidencePublic signing evidence.
extensions: Vec<String>Embedded extension bundle identifiers.
artifacts: Vec<ArtifactRecord>Downloadable artifacts.
validation_levels: BTreeSet<ValidationLevel>Individually proven validation levels.
started_at: StringRFC 3339 job start time.
finished_at: StringRFC 3339 job completion time.
cleanup_status: CleanupStatusWorker cleanup status.
Implementations§
Source§impl ArtifactManifest
impl ArtifactManifest
Sourcepub fn new(operation_id: impl Into<String>, job_id: impl Into<String>) -> Self
pub fn new(operation_id: impl Into<String>, job_id: impl Into<String>) -> Self
Construct an empty versioned manifest for a job.
Sourcepub fn one_artifact(
&self,
kind: ArtifactKind,
) -> Result<&ArtifactRecord, ArtifactError>
pub fn one_artifact( &self, kind: ArtifactKind, ) -> Result<&ArtifactRecord, ArtifactError>
Find exactly one artifact of the requested kind.
§Errors
Returns an error when the artifact is missing or ambiguous.
Trait Implementations§
Source§impl Clone for ArtifactManifest
impl Clone for ArtifactManifest
Source§impl Debug for ArtifactManifest
impl Debug for ArtifactManifest
Source§impl<'de> Deserialize<'de> for ArtifactManifest
impl<'de> Deserialize<'de> for ArtifactManifest
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>,
impl Eq for ArtifactManifest
Source§impl JsonSchema for ArtifactManifest
impl JsonSchema for ArtifactManifest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ArtifactManifest
impl PartialEq for ArtifactManifest
Source§impl Serialize for ArtifactManifest
impl Serialize for ArtifactManifest
impl StructuralPartialEq for ArtifactManifest
Auto Trait Implementations§
impl Freeze for ArtifactManifest
impl RefUnwindSafe for ArtifactManifest
impl Send for ArtifactManifest
impl Sync for ArtifactManifest
impl Unpin for ArtifactManifest
impl UnsafeUnpin for ArtifactManifest
impl UnwindSafe for ArtifactManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.