pub struct SnapBuildFull {Show 35 fields
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub arch_tag: String,
pub archive_link: Url,
pub build_log_url: Url,
pub build_metadata_url: Url,
pub builder_link: Url,
pub buildstate: BuildState,
pub can_be_cancelled: bool,
pub can_be_rescored: bool,
pub can_be_retried: bool,
pub channels: Vec<String>,
pub date_first_dispatched: DateTime<Utc>,
pub datebuilt: DateTime<Utc>,
pub datecreated: DateTime<Utc>,
pub dependencies: Vec<String>,
pub distribution_link: Url,
pub distro_arch_series_link: Url,
pub distro_series_link: Url,
pub pocket: Pocket,
pub requester_link: Url,
pub revision_id: String,
pub score: f64,
pub snap_link: Url,
pub snap_base_link: Url,
pub store_upload_error_message: String,
pub store_upload_error_messages: Vec<String>,
pub store_upload_revision: String,
pub store_upload_status: StoreUploadStatus,
pub store_upload_url: Url,
pub target_architectures: Vec<String>,
pub title: String,
pub upload_log_url: Url,
}Expand description
Representation of the snap_build-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
arch_tag: StringArchitecture tag
archive_link: UrlThe archive from which to build the snap package.
build_log_url: UrlBuild Log URL
A URL for the build log. None if there is no log available.
build_metadata_url: UrlURL of the build metadata file
URL of the metadata file generated by the fetch service, if it exists.
builder_link: UrlBuilder
The builder assigned to this job.
buildstate: BuildStateStatus
The current status of the job.
can_be_cancelled: boolCan be cancelled
Whether this build record can be cancelled.
can_be_rescored: boolCan be rescored
Whether this build record can be rescored manually.
can_be_retried: boolCan be retried
Whether this build record can be retried.
channels: Vec<String>Source snap channels to use for this build.
A dictionary mapping snap names to channels to use for this build. Supported snap names: ‘core’, ‘core18’, ‘core20’, ‘core22’, ‘core24’, ‘snapcraft’, ‘snapd’
date_first_dispatched: DateTime<Utc>Date finished
The actual build start time. Set when the build is dispatched the first time and not changed in subsequent build attempts.
datebuilt: DateTime<Utc>Date finished
The timestamp when the build farm job was finished.
datecreated: DateTime<Utc>Date created
The timestamp when the build farm job was created.
dependencies: Vec<String>Dependencies
Debian-like dependency line that must be satisfied before attempting to build this request.
distribution_link: UrlDistribution
Shortcut for its distribution.
distro_arch_series_link: UrlThe series and architecture to build on.
distro_series_link: UrlDistribution series
Shortcut for its distribution series.
pocket: PocketThe pocket for which to build.
The package stream within the source archive and distribution series to use when building the snap package. If the source archive is a PPA, then the PPA’s archive dependencies will be used to select the pocket in the distribution’s primary archive.
requester_link: UrlThe person who requested this build.
revision_id: StringRevision ID
The revision ID of the branch used for this build, if available.
score: f64Score of the related build farm job (if any).
snap_link: UrlThe snap package to build.
snap_base_link: UrlThe snap base to use for this build.
store_upload_error_message: StringStore upload error message
The error message, if any, from the last attempt to upload this snap build to the store. (Deprecated; use store_upload_error_messages instead.)
store_upload_error_messages: Vec<String>Store upload error messages
A list of dict(message, link) where message is an error description and link, if any, is an external link to extra details, from the last attempt to upload this snap build to the store.
store_upload_revision: StringStore revision
The revision assigned to this package by the store.
store_upload_status: StoreUploadStatusStore upload status
store_upload_url: UrlStore URL
The URL to use for managing this package in the store.
target_architectures: Vec<String>The target architectures to build for.
title: StringTitle
upload_log_url: UrlUpload Log URL
A URL for failed upload logs.Will be None if there was no failure.
Implementations§
Source§impl SnapBuildFull
impl SnapBuildFull
pub fn set_self_(&mut self, value: Option<SnapBuild>)
pub fn set_archive(&mut self, value: Archive)
pub fn set_builder(&mut self, value: Builder)
Sourcepub fn distribution(&self) -> Distribution
pub fn distribution(&self) -> Distribution
Distribution
Shortcut for its distribution.
pub fn set_distribution(&mut self, value: Distribution)
Sourcepub fn distro_arch_series(&self) -> DistroArchSeries
pub fn distro_arch_series(&self) -> DistroArchSeries
The series and architecture to build on.
pub fn set_distro_arch_series(&mut self, value: DistroArchSeries)
Sourcepub fn distro_series(&self) -> DistroSeries
pub fn distro_series(&self) -> DistroSeries
Distribution series
Shortcut for its distribution series.
pub fn set_distro_series(&mut self, value: DistroSeries)
pub fn set_requester(&mut self, value: Person)
pub fn set_snap(&mut self, value: Snap)
pub fn set_snap_base(&mut self, value: SnapBase)
Trait Implementations§
Source§impl Clone for SnapBuildFull
impl Clone for SnapBuildFull
Source§fn clone(&self) -> SnapBuildFull
fn clone(&self) -> SnapBuildFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more