SourcePackagePublishingHistoryFull

Struct SourcePackagePublishingHistoryFull 

Source
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: Url

Archive ID

§component_name: String

Component Name

§copied_from_archive_link: Url

Original archive ID where this package was copied from.

§creator_link: Url

Publication 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: String

Display Name

Text representation of the current record.

§distro_series_link: Url

The distro series being published into

§package_creator_link: Url

Package Creator

The IPerson who created the source package.

§package_maintainer_link: Url

Package Maintainer

The IPerson who maintains the source package.

§package_signer_link: Url

Package Signer

The IPerson who signed the source package.

§packageupload_link: Url

Package upload

The Package Upload that caused the creation of this publication.

§pocket: Pocket

Pocket

The pocket into which this entry is published

§removal_comment: String

Reason why this publication is going to be removed.

§removed_by_link: Url

The IPerson responsible for the removal

§scheduled_deletion_date: DateTime<Utc>

The date on which this record is scheduled for deletion

§section_name: String

Section Name

§source_package_name: String

Source Package Name

§source_package_version: Version

Source Package Version

§sponsor_link: Url

Publication sponsor

The IPerson who sponsored the creation of this publication.

§status: PublishingRecordStatus

Package Publishing Status

The status of this publishing record

Implementations§

Source§

impl SourcePackagePublishingHistoryFull

Source

pub fn self_(&self) -> Option<SourcePackagePublishingHistory>

The canonical link to this resource.

Source

pub fn set_self_(&mut self, value: Option<SourcePackagePublishingHistory>)

Source

pub fn archive(&self) -> Archive

Archive ID

Source

pub fn set_archive(&mut self, value: Archive)

Source

pub fn copied_from_archive(&self) -> Archive

Original archive ID where this package was copied from.

Source

pub fn set_copied_from_archive(&mut self, value: Archive)

Source

pub fn creator(&self) -> Person

Publication Creator

The IPerson who created this publication.

Source

pub fn set_creator(&mut self, value: Person)

Source

pub fn distro_series(&self) -> DistroSeries

The distro series being published into

Source

pub fn set_distro_series(&mut self, value: DistroSeries)

Source

pub fn package_creator(&self) -> Person

Package Creator

The IPerson who created the source package.

Source

pub fn set_package_creator(&mut self, value: Person)

Source

pub fn package_maintainer(&self) -> Person

Package Maintainer

The IPerson who maintains the source package.

Source

pub fn set_package_maintainer(&mut self, value: Person)

Source

pub fn package_signer(&self) -> Person

Package Signer

The IPerson who signed the source package.

Source

pub fn set_package_signer(&mut self, value: Person)

Source

pub fn packageupload(&self) -> PackageUpload

Package upload

The Package Upload that caused the creation of this publication.

Source

pub fn set_packageupload(&mut self, value: PackageUpload)

Source

pub fn removed_by(&self) -> Person

The IPerson responsible for the removal

Source

pub fn set_removed_by(&mut self, value: Person)

Source

pub fn sponsor(&self) -> Person

Publication sponsor

The IPerson who sponsored the creation of this publication.

Source

pub fn set_sponsor(&mut self, value: Person)

Trait Implementations§

Source§

impl Clone for SourcePackagePublishingHistoryFull

Source§

fn clone(&self) -> SourcePackagePublishingHistoryFull

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SourcePackagePublishingHistoryFull

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SourcePackagePublishingHistoryFull

Source§

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 SourcePackagePublishingHistoryFull

Source§

fn eq(&self, other: &SourcePackagePublishingHistoryFull) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for SourcePackagePublishingHistoryFull

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SourcePackagePublishingHistoryFull

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,