pub struct SnapshotBuildParameters {
pub protocol_version: ProtocolVersion,
pub operation_id: String,
pub product_name: String,
pub bundle_identifier: String,
pub minimum_ios_version: String,
pub product: IosDeviceProductExpectation,
pub profile: BuildProfile,
pub signing: SigningPlan,
pub requested_artifacts: BTreeSet<IosArtifactType>,
}Expand description
Compact build fields sent before the separately framed source descriptor.
This deliberately excludes source, source_mode, source_repository, and
source_revision. The worker reconstructs the complete request only after
validating the separately transported SourceBundleDescriptor.
Fields§
§protocol_version: ProtocolVersionRequested Ferry Remote Build Protocol version.
operation_id: StringCaller-owned operation identifier.
product_name: StringHuman-readable product name.
bundle_identifier: StringExact Apple application bundle identifier.
minimum_ios_version: StringMinimum supported iOS version.
product: IosDeviceProductExpectationClient-derived product identity.
profile: BuildProfileRust/Xcode optimization profile.
signing: SigningPlanUnsigned compile-only plan.
requested_artifacts: BTreeSet<IosArtifactType>Exact requested artifact set; snapshot session v1 accepts only xcarchive.
Implementations§
Source§impl SnapshotBuildParameters
impl SnapshotBuildParameters
Sourcepub fn from_request(request: &IosDeviceBuildRequest) -> RemoteBuildResult<Self>
pub fn from_request(request: &IosDeviceBuildRequest) -> RemoteBuildResult<Self>
Convert one complete request into compact snapshot-session parameters.
§Errors
Rejects an invalid request, non-snapshot source, signed build, or any artifact set other than exactly one unsigned Xcode archive.
Sourcepub fn reconstruct_request(
&self,
descriptor: &SourceBundleDescriptor,
limits: SourceArchiveLimits,
) -> RemoteBuildResult<IosDeviceBuildRequest>
pub fn reconstruct_request( &self, descriptor: &SourceBundleDescriptor, limits: SourceArchiveLimits, ) -> RemoteBuildResult<IosDeviceBuildRequest>
Reconstruct and fully validate a request using one separately received descriptor.
§Errors
Rejects malformed descriptor metadata, invalid compact fields, or any complete request that violates the physical-iPhone build contract.
Trait Implementations§
Source§impl Clone for SnapshotBuildParameters
impl Clone for SnapshotBuildParameters
Source§impl Debug for SnapshotBuildParameters
impl Debug for SnapshotBuildParameters
Source§impl<'de> Deserialize<'de> for SnapshotBuildParameters
impl<'de> Deserialize<'de> for SnapshotBuildParameters
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 SnapshotBuildParameters
Source§impl JsonSchema for SnapshotBuildParameters
impl JsonSchema for SnapshotBuildParameters
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 SnapshotBuildParameters
impl PartialEq for SnapshotBuildParameters
Source§impl Serialize for SnapshotBuildParameters
impl Serialize for SnapshotBuildParameters
impl StructuralPartialEq for SnapshotBuildParameters
Source§impl TryFrom<&IosDeviceBuildRequest> for SnapshotBuildParameters
impl TryFrom<&IosDeviceBuildRequest> for SnapshotBuildParameters
Source§type Error = RemoteBuildError
type Error = RemoteBuildError
Auto Trait Implementations§
impl Freeze for SnapshotBuildParameters
impl RefUnwindSafe for SnapshotBuildParameters
impl Send for SnapshotBuildParameters
impl Sync for SnapshotBuildParameters
impl Unpin for SnapshotBuildParameters
impl UnsafeUnpin for SnapshotBuildParameters
impl UnwindSafe for SnapshotBuildParameters
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.