pub struct DistributionFull {
Show 28 fields pub http_etag: Option<String>, pub active: bool, pub bug_reported_acknowledgement: bool, pub bug_reporting_guidelines: String, pub commercial_subscription_is_due: bool, pub date_created: DateTime<Utc>, pub default_traversal_policy: String, pub description: String, pub development_series_alias: String, pub display_name: String, pub domain_name: String, pub homepage_content: Option<String>, pub information_type: String, pub name: String, pub official_answers: bool, pub official_blueprints: bool, pub official_bug_tags: bool, pub official_bugs: bool, pub official_codehosting: bool, pub official_packages: bool, pub private: bool, pub redirect_default_traversal: String, pub redirect_release_uploads: bool, pub summary: String, pub supports_mirrors: bool, pub supports_ppas: bool, pub title: String, pub vcs: String, /* private fields */
}
Expand description

Representation of the distribution-full resource

Fields§

§http_etag: Option<String>

The value of the HTTP ETag for this resource.

§active: bool

Active

Whether or not this item is active.

§bug_reported_acknowledgement: bool

After reporting a bug, I can expect the following.

This message of acknowledgement will be displayed to anyone after reporting a bug.

§bug_reporting_guidelines: String

Helpful guidelines for reporting a bug

These guidelines will be shown to everyone reporting a bug and should be text or a bulleted list with your particular requirements, if any.

§commercial_subscription_is_due: bool

Commercial subscription is due

Whether the distribution’s licensing requires a new commercial subscription to use launchpad.

§date_created: DateTime<Utc>

Date created

The date this distribution was registered.

§default_traversal_policy: String

Default traversal policy

The type of object that /{distro}/{name} URLs for this distribution resolve to.

§description: String

Description

Details about the distributions’s work, highlights, goals, and how to contribute. Use plain text, paragraphs are preserved and URLs are linked in pages. Don’t repeat the Summary.

§development_series_alias: String

Alias for development series

If set, an alias for the current development series in this distribution.

§display_name: String

Display Name

The displayable name of the distribution.

§domain_name: String

Web site URL

The distro’s web site URL.

§homepage_content: Option<String>

Homepage Content

The content of this distribution’s home page. Edit this and it will be displayed for all the world to see. It is NOT a wiki so you cannot undo changes.

§information_type: String

Information Type

The type of data contained in this item.

§name: String

Name

The distro’s name.

§official_answers: bool

People can ask questions in Launchpad Answers

§official_blueprints: bool

This project uses blueprints

§official_bug_tags: bool

Official Bug Tags

The list of bug tags defined as official.

§official_bugs: bool

Bugs in this project are tracked in Launchpad

§official_codehosting: bool

Code for this project is published in Bazaar branches on Launchpad

§official_packages: bool

Packages are tracked in Launchpad

§private: bool

Distribution is confidential

If set, this distribution is visible only to those with access grants.

§redirect_default_traversal: String

Redirect the default traversal

If true, the default traversal is for migration and redirects to a different canonical URL.

§redirect_release_uploads: bool

Redirect release pocket uploads

Redirect release pocket uploads to proposed pocket

§summary: String

Summary

A short paragraph to introduce the goals and highlights of the distribution.

§supports_mirrors: bool

Enable mirror listings and probes

§supports_ppas: bool

Enable PPA creation and publication

§title: String

Title

The distro’s title.

§vcs: String

VCS

Version control system for this distribution’s code.

Implementations§

source§

impl DistributionFull

source

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

The canonical link to this resource.

source

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

source

pub fn active_milestones<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, MilestonePage>, Error>

The visible and active milestones associated with this object, ordered by date expected.

source

pub fn all_milestones<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, MilestonePage>, Error>

All milestones associated with this object, ordered by date expected.

source

pub fn archive_mirrors<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistributionMirrorPage>, Error>

All enabled and official ARCHIVE mirrors of this Distribution.

source

pub fn archives<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, ArchivePage>, Error>

A sequence of the distribution’s primary, partner and debug archives.

source

pub fn bug_supervisor(&self) -> Person

Bug Supervisor

The Launchpad id of the person or team (preferred) responsible for bug management.

source

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

source

pub fn cdimage_mirrors<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistributionMirrorPage>, Error>

All enabled and official RELEASE mirrors of this Distribution.

source

pub fn code_admin(&self) -> Person

Code Administrator

The distribution source code administrator.

source

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

source

pub fn commercial_subscription(&self) -> CommercialSubscription

Commercial subscriptions

An object which contains the timeframe and the voucher code of a subscription.

source

pub fn set_commercial_subscription(&mut self, value: CommercialSubscription)

source

pub fn current_series(&self) -> DistroSeries

Current series

The current development series of this distribution. Note that all maintainerships refer to the current series. When people ask about the state of packages in the distribution, we should interpret that query in the context of the currentseries.

source

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

source

pub fn derivatives<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>

This Distribution’s derivatives

source

pub fn driver(&self) -> Person

Driver

The person or team responsible for decisions about features and bugs that will be targeted for any series in this distribution. Note that you can also specify a driver on each series whose permissions will be limited to that specific series.

source

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

source

pub fn icon(&self) -> HostedFile

Icon

A small image of exactly 14x14 pixels and at most 5kb in size, that can be used to identify this distribution. The icon will be displayed everywhere we list the distribution and link to it.

source

pub fn set_icon(&mut self, value: HostedFile)

Logo

An image of exactly 64x64 pixels that will be displayed in the heading of all pages related to this distribution. It should be no bigger than 50kb in size.

source

pub fn main_archive(&self) -> Archive

Distribution Main Archive.

source

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

source

pub fn members(&self) -> Person

Members

The distro’s members team.

source

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

source

pub fn mirror_admin(&self) -> Person

Mirror Administrator

The person or team that has the rights to review and mark this distribution’s mirrors as official.

source

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

source

pub fn mugshot(&self) -> HostedFile

Brand

A large image of exactly 192x192 pixels, that will be displayed on this distribution’s home page in Launchpad. It should be no bigger than 100kb in size.

source

pub fn set_mugshot(&mut self, value: HostedFile)

source

pub fn oci_project_admin(&self) -> Person

OCI Project Administrator

The person or team that has the rights to manage OCI Projects for this distribution.

source

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

source

pub fn owner(&self) -> Person

Owner

The restricted team, moderated team, or person who maintains the distribution information in Launchpad.

source

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

source

pub fn registrant(&self) -> Person

Registrant

The distro’s registrant.

source

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

source

pub fn security_admin(&self) -> Person

Security Administrator

The distribution security administrator.

source

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

source

pub fn series<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>

DistroSeries inside this Distribution

source

pub fn vulnerabilities<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, VulnerabilityPage>, Error>

Vulnerabilities in this distribution.

source

pub fn webhooks<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, WebhookPage>, Error>

Webhooks for this target.

Trait Implementations§

source§

impl Clone for DistributionFull

source§

fn clone(&self) -> DistributionFull

Returns a copy 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 DistributionFull

source§

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

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

impl<'de> Deserialize<'de> for DistributionFull

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 DistributionFull

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for DistributionFull

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 DistributionFull

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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> ToOwned for T
where T: Clone,

§

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>,

§

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>,

§

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.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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
§

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>,