pub struct CraftRecipeBuildFull {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 craft_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 ‘sourcecraft’ 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 craft 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 CraftRecipeBuildFull
impl CraftRecipeBuildFull
Sourcepub fn self_(&self) -> Option<CraftRecipeBuild>
pub fn self_(&self) -> Option<CraftRecipeBuild>
The canonical link to this resource.
Sourcepub fn set_self_(&mut self, value: Option<CraftRecipeBuild>)
pub fn set_self_(&mut self, value: Option<CraftRecipeBuild>)
Set the self_link value.
Sourcepub fn set_archive(&mut self, value: Archive)
pub fn set_archive(&mut self, value: Archive)
Set the archive_link value.
Sourcepub fn set_builder(&mut self, value: Builder)
pub fn set_builder(&mut self, value: Builder)
Set the builder_link value.
Sourcepub fn distribution(&self) -> Distribution
pub fn distribution(&self) -> Distribution
Distribution
Shortcut for its distribution.
Sourcepub fn set_distribution(&mut self, value: Distribution)
pub fn set_distribution(&mut self, value: Distribution)
Set the distribution_link value.
Sourcepub fn distro_arch_series(&self) -> DistroArchSeries
pub fn distro_arch_series(&self) -> DistroArchSeries
The series and architecture for which to build.
Sourcepub fn set_distro_arch_series(&mut self, value: DistroArchSeries)
pub fn set_distro_arch_series(&mut self, value: DistroArchSeries)
Set the distro_arch_series_link value.
Sourcepub fn distro_series(&self) -> DistroSeries
pub fn distro_series(&self) -> DistroSeries
Distribution series
Shortcut for its distribution series.
Sourcepub fn set_distro_series(&mut self, value: DistroSeries)
pub fn set_distro_series(&mut self, value: DistroSeries)
Set the distro_series_link value.
Sourcepub fn recipe(&self) -> CraftRecipe
pub fn recipe(&self) -> CraftRecipe
The craft recipe to build.
Sourcepub fn set_recipe(&mut self, value: CraftRecipe)
pub fn set_recipe(&mut self, value: CraftRecipe)
Set the recipe_link value.
Sourcepub fn set_requester(&mut self, value: Person)
pub fn set_requester(&mut self, value: Person)
Set the requester_link value.
Trait Implementations§
Source§impl Clone for CraftRecipeBuildFull
impl Clone for CraftRecipeBuildFull
Source§fn clone(&self) -> CraftRecipeBuildFull
fn clone(&self) -> CraftRecipeBuildFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more