pub struct SourcePackagePublishingHistoryFull {Show 27 fields
pub self_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub archive_link: Url,
pub component_name: String,
pub copied_from_archive_link: Url,
pub creator_link: Url,
pub date_created: DateTime<Utc>,
pub date_made_pending: DateTime<Utc>,
pub date_published: DateTime<Utc>,
pub date_removed: DateTime<Utc>,
pub date_superseded: DateTime<Utc>,
pub display_name: String,
pub distro_series_link: Url,
pub package_creator_link: Url,
pub package_maintainer_link: Url,
pub package_signer_link: Url,
pub packageupload_link: Url,
pub pocket: Pocket,
pub removal_comment: String,
pub removed_by_link: Url,
pub scheduled_deletion_date: DateTime<Utc>,
pub section_name: String,
pub source_package_name: String,
pub source_package_version: Version,
pub sponsor_link: Url,
pub status: PublishingRecordStatus,
}Expand description
Representation of the source_package_publishing_history-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 ID
component_name: StringComponent Name
copied_from_archive_link: UrlOriginal archive ID where this package was copied from.
creator_link: UrlPublication Creator
The IPerson who created this publication.
date_created: DateTime<Utc>The date on which this record was created
date_made_pending: DateTime<Utc>The date on which this record was set as pending removal
date_published: DateTime<Utc>The date on which this record was published
date_removed: DateTime<Utc>The date on which this record was removed from the published set
date_superseded: DateTime<Utc>The date on which this record was marked superseded
display_name: StringDisplay Name
Text representation of the current record.
distro_series_link: UrlThe distro series being published into
package_creator_link: UrlPackage Creator
The IPerson who created the source package.
package_maintainer_link: UrlPackage Maintainer
The IPerson who maintains the source package.
package_signer_link: UrlPackage Signer
The IPerson who signed the source package.
packageupload_link: UrlPackage upload
The Package Upload that caused the creation of this publication.
pocket: PocketThe pocket into which this entry is published
removal_comment: StringReason why this publication is going to be removed.
removed_by_link: UrlThe IPerson responsible for the removal
scheduled_deletion_date: DateTime<Utc>The date on which this record is scheduled for deletion
section_name: StringSection Name
source_package_name: StringSource Package Name
source_package_version: VersionSource Package Version
sponsor_link: UrlPublication sponsor
The IPerson who sponsored the creation of this publication.
status: PublishingRecordStatusPackage Publishing Status
The status of this publishing record
Implementations§
Source§impl SourcePackagePublishingHistoryFull
impl SourcePackagePublishingHistoryFull
Sourcepub fn self_(&self) -> Option<SourcePackagePublishingHistory>
pub fn self_(&self) -> Option<SourcePackagePublishingHistory>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<SourcePackagePublishingHistory>)
pub fn set_archive(&mut self, value: Archive)
Sourcepub fn copied_from_archive(&self) -> Archive
pub fn copied_from_archive(&self) -> Archive
Original archive ID where this package was copied from.
pub fn set_copied_from_archive(&mut self, value: Archive)
pub fn set_creator(&mut self, value: Person)
Sourcepub fn distro_series(&self) -> DistroSeries
pub fn distro_series(&self) -> DistroSeries
The distro series being published into
pub fn set_distro_series(&mut self, value: DistroSeries)
Sourcepub fn package_creator(&self) -> Person
pub fn package_creator(&self) -> Person
Package Creator
The IPerson who created the source package.
pub fn set_package_creator(&mut self, value: Person)
Sourcepub fn package_maintainer(&self) -> Person
pub fn package_maintainer(&self) -> Person
Package Maintainer
The IPerson who maintains the source package.
pub fn set_package_maintainer(&mut self, value: Person)
Sourcepub fn package_signer(&self) -> Person
pub fn package_signer(&self) -> Person
Package Signer
The IPerson who signed the source package.
pub fn set_package_signer(&mut self, value: Person)
Sourcepub fn packageupload(&self) -> PackageUpload
pub fn packageupload(&self) -> PackageUpload
Package upload
The Package Upload that caused the creation of this publication.
pub fn set_packageupload(&mut self, value: PackageUpload)
Sourcepub fn removed_by(&self) -> Person
pub fn removed_by(&self) -> Person
The IPerson responsible for the removal
pub fn set_removed_by(&mut self, value: Person)
Sourcepub fn sponsor(&self) -> Person
pub fn sponsor(&self) -> Person
Publication sponsor
The IPerson who sponsored the creation of this publication.
pub fn set_sponsor(&mut self, value: Person)
Trait Implementations§
Source§impl Clone for SourcePackagePublishingHistoryFull
impl Clone for SourcePackagePublishingHistoryFull
Source§fn clone(&self) -> SourcePackagePublishingHistoryFull
fn clone(&self) -> SourcePackagePublishingHistoryFull
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for SourcePackagePublishingHistoryFull
impl<'de> Deserialize<'de> for SourcePackagePublishingHistoryFull
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>,
Source§impl PartialEq for SourcePackagePublishingHistoryFull
impl PartialEq for SourcePackagePublishingHistoryFull
Source§fn eq(&self, other: &SourcePackagePublishingHistoryFull) -> bool
fn eq(&self, other: &SourcePackagePublishingHistoryFull) -> bool
self and other values to be equal, and is used by ==.