pub struct SourcePackageRecipeBuildDiff {
pub build_log_url: Option<Url>,
pub buildstate: Option<BuildState>,
pub dependencies: Option<Vec<String>>,
pub distribution_link: Option<Url>,
pub distro_series_link: Option<Url>,
pub pocket: Option<Pocket>,
pub title: Option<String>,
pub upload_log_url: Option<Url>,
}Expand description
Representation of the source_package_recipe_build-diff resource
Fields§
§build_log_url: Option<Url>Build Log URL
A URL for the build log. None if there is no log available.
buildstate: Option<BuildState>Status
The current status of the job.
dependencies: Option<Vec<String>>Dependencies
Debian-like dependency line that must be satisfied before attempting to build this request.
distribution_link: Option<Url>Distribution
Shortcut for its distribution.
distro_series_link: Option<Url>Distribution series
Shortcut for its distribution series.
pocket: Option<Pocket>The build targeted pocket.
title: Option<String>Title
upload_log_url: Option<Url>Upload Log URL
A URL for failed upload logs.Will be None if there was no failure.
Implementations§
Source§impl SourcePackageRecipeBuildDiff
impl SourcePackageRecipeBuildDiff
Sourcepub fn distribution(&self) -> Option<Distribution>
pub fn distribution(&self) -> Option<Distribution>
Distribution
Shortcut for its distribution.
pub fn set_distribution(&mut self, value: Option<Distribution>)
Sourcepub fn distro_series(&self) -> Option<DistroSeries>
pub fn distro_series(&self) -> Option<DistroSeries>
Distribution series
Shortcut for its distribution series.
pub fn set_distro_series(&mut self, value: Option<DistroSeries>)
Trait Implementations§
Source§impl Clone for SourcePackageRecipeBuildDiff
impl Clone for SourcePackageRecipeBuildDiff
Source§fn clone(&self) -> SourcePackageRecipeBuildDiff
fn clone(&self) -> SourcePackageRecipeBuildDiff
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourcePackageRecipeBuildDiff
impl Debug for SourcePackageRecipeBuildDiff
Source§impl<'de> Deserialize<'de> for SourcePackageRecipeBuildDiff
impl<'de> Deserialize<'de> for SourcePackageRecipeBuildDiff
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourcePackageRecipeBuildDiff
impl PartialEq for SourcePackageRecipeBuildDiff
Source§fn eq(&self, other: &SourcePackageRecipeBuildDiff) -> bool
fn eq(&self, other: &SourcePackageRecipeBuildDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourcePackageRecipeBuildDiff
Auto Trait Implementations§
impl Freeze for SourcePackageRecipeBuildDiff
impl RefUnwindSafe for SourcePackageRecipeBuildDiff
impl Send for SourcePackageRecipeBuildDiff
impl Sync for SourcePackageRecipeBuildDiff
impl Unpin for SourcePackageRecipeBuildDiff
impl UnwindSafe for SourcePackageRecipeBuildDiff
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
Mutably borrows from an owned value. Read more