pub struct PackageUploadFull {Show 14 fields
pub self_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub archive_link: Url,
pub copy_source_archive_link: Option<Url>,
pub custom_file_urls: Vec<Url>,
pub date_created: DateTime<Utc>,
pub display_arches: PackageUploadArches,
pub display_name: String,
pub display_version: String,
pub distroseries_link: Url,
pub id: i32,
pub pocket: Pocket,
pub status: PackageUploadStatus,
}Expand description
Representation of the package_upload-full resource
Fields§
§self_link: Option<Url>The canonical 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.
archive_link: UrlArchive
The archive for this upload.
copy_source_archive_link: Option<Url>Copy source archive
The archive from which this package was copied, if any.
custom_file_urls: Vec<Url>Custom file URLs
Librarian URLs for all the custom files attached to this upload.
date_created: DateTime<Utc>Date created
The date this package upload was done.
display_arches: PackageUploadArchesArchitectures related to this item
display_name: StringGeneric displayname for a queue item
display_version: StringThis item’s displayable source package version
distroseries_link: UrlSeries
The distroseries targeted by this upload.
id: i32ID
pocket: PocketThe pocket
The pocket targeted by this upload.
status: PackageUploadStatusQueue status
The status of this upload.
Implementations§
Source§impl PackageUploadFull
impl PackageUploadFull
Sourcepub fn self_(&self) -> Option<PackageUpload>
pub fn self_(&self) -> Option<PackageUpload>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<PackageUpload>)
pub fn set_archive(&mut self, value: Archive)
Sourcepub fn copy_source_archive(&self) -> Option<Archive>
pub fn copy_source_archive(&self) -> Option<Archive>
Copy source archive
The archive from which this package was copied, if any.
pub fn set_copy_source_archive(&mut self, value: Option<Archive>)
Sourcepub fn distroseries(&self) -> DistroSeries
pub fn distroseries(&self) -> DistroSeries
Series
The distroseries targeted by this upload.
pub fn set_distroseries(&mut self, value: DistroSeries)
Trait Implementations§
Source§impl Clone for PackageUploadFull
impl Clone for PackageUploadFull
Source§fn clone(&self) -> PackageUploadFull
fn clone(&self) -> PackageUploadFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more