pub struct RockRecipeBuildFull {Show 28 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 recipe_link: Url,
pub requester_link: Url,
pub revision_id: String,
pub score: f64,
pub title: String,
pub upload_log_url: Url,
}Expand description
Representation of the rock_recipe_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: UrlArchive
The Archive context for this build.
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. Currently only ‘core’, ‘core18’, ‘core20’, and ‘rockcraft’ keys are supported.
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 for which to build.
distro_series_link: UrlDistribution series
Shortcut for its distribution series.
pocket: PocketThe build targeted pocket.
recipe_link: UrlThe rock recipe to build.
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).
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 RockRecipeBuildFull
impl RockRecipeBuildFull
Sourcepub fn self_(&self) -> Option<RockRecipeBuild>
pub fn self_(&self) -> Option<RockRecipeBuild>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<RockRecipeBuild>)
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 for which to build.
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)
Sourcepub fn recipe(&self) -> RockRecipe
pub fn recipe(&self) -> RockRecipe
The rock recipe to build.
pub fn set_recipe(&mut self, value: RockRecipe)
pub fn set_requester(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for RockRecipeBuildFull
impl Clone for RockRecipeBuildFull
Source§fn clone(&self) -> RockRecipeBuildFull
fn clone(&self) -> RockRecipeBuildFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more