Struct launchpadlib::v1_0::DistributionFull
source · 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: boolActive
Whether or not this item is active.
bug_reported_acknowledgement: boolAfter reporting a bug, I can expect the following.
This message of acknowledgement will be displayed to anyone after reporting a bug.
bug_reporting_guidelines: StringHelpful 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: boolCommercial 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: StringDefault traversal policy
The type of object that /{distro}/{name} URLs for this distribution resolve to.
description: StringDescription
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: StringAlias for development series
If set, an alias for the current development series in this distribution.
display_name: StringDisplay Name
The displayable name of the distribution.
domain_name: StringWeb 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: StringInformation Type
The type of data contained in this item.
name: StringName
The distro’s name.
official_answers: boolPeople can ask questions in Launchpad Answers
official_blueprints: boolThis project uses blueprints
Official Bug Tags
The list of bug tags defined as official.
official_bugs: boolBugs in this project are tracked in Launchpad
official_codehosting: boolCode for this project is published in Bazaar branches on Launchpad
official_packages: boolPackages are tracked in Launchpad
private: boolDistribution is confidential
If set, this distribution is visible only to those with access grants.
redirect_default_traversal: StringRedirect the default traversal
If true, the default traversal is for migration and redirects to a different canonical URL.
redirect_release_uploads: boolRedirect release pocket uploads
Redirect release pocket uploads to proposed pocket
summary: StringSummary
A short paragraph to introduce the goals and highlights of the distribution.
supports_mirrors: boolEnable mirror listings and probes
supports_ppas: boolEnable PPA creation and publication
title: StringTitle
The distro’s title.
vcs: StringVCS
Version control system for this distribution’s code.
Implementations§
source§impl DistributionFull
impl DistributionFull
sourcepub fn self_(&self) -> Option<Distribution>
pub fn self_(&self) -> Option<Distribution>
The canonical link to this resource.
pub fn set_self_(&mut self, value: Option<Distribution>)
sourcepub fn active_milestones<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, MilestonePage>, Error>
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.
sourcepub fn all_milestones<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, MilestonePage>, Error>
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.
sourcepub fn archive_mirrors<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, DistributionMirrorPage>, Error>
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.
sourcepub fn archives<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, ArchivePage>, Error>
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.
sourcepub fn bug_supervisor(&self) -> Person
pub fn bug_supervisor(&self) -> Person
Bug Supervisor
The Launchpad id of the person or team (preferred) responsible for bug management.
pub fn set_bug_supervisor(&mut self, value: Person)
sourcepub fn cdimage_mirrors<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, DistributionMirrorPage>, Error>
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.
sourcepub fn code_admin(&self) -> Person
pub fn code_admin(&self) -> Person
Code Administrator
The distribution source code administrator.
pub fn set_code_admin(&mut self, value: Person)
sourcepub fn commercial_subscription(&self) -> CommercialSubscription
pub fn commercial_subscription(&self) -> CommercialSubscription
Commercial subscriptions
An object which contains the timeframe and the voucher code of a subscription.
pub fn set_commercial_subscription(&mut self, value: CommercialSubscription)
sourcepub fn current_series(&self) -> DistroSeries
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.
pub fn set_current_series(&mut self, value: DistroSeries)
sourcepub fn derivatives<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>
pub fn derivatives<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>
This Distribution’s derivatives
sourcepub fn driver(&self) -> Person
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.
pub fn set_driver(&mut self, value: Person)
sourcepub fn icon(&self) -> HostedFile
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.
pub fn set_icon(&mut self, value: HostedFile)
sourcepub fn logo(&self) -> HostedFile
pub fn logo(&self) -> 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.
pub fn set_logo(&mut self, value: HostedFile)
sourcepub fn main_archive(&self) -> Archive
pub fn main_archive(&self) -> Archive
Distribution Main Archive.
pub fn set_main_archive(&mut self, value: Archive)
pub fn set_members(&mut self, value: Person)
sourcepub fn mirror_admin(&self) -> Person
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.
pub fn set_mirror_admin(&mut self, value: Person)
sourcepub fn mugshot(&self) -> HostedFile
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.
pub fn set_mugshot(&mut self, value: HostedFile)
sourcepub fn oci_project_admin(&self) -> Person
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.
pub fn set_oci_project_admin(&mut self, value: Person)
sourcepub fn owner(&self) -> Person
pub fn owner(&self) -> Person
Owner
The restricted team, moderated team, or person who maintains the distribution information in Launchpad.
pub fn set_owner(&mut self, value: Person)
sourcepub fn registrant(&self) -> Person
pub fn registrant(&self) -> Person
Registrant
The distro’s registrant.
pub fn set_registrant(&mut self, value: Person)
sourcepub fn security_admin(&self) -> Person
pub fn security_admin(&self) -> Person
Security Administrator
The distribution security administrator.
pub fn set_security_admin(&mut self, value: Person)
sourcepub fn series<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>
pub fn series<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, DistroSeriesPage>, Error>
DistroSeries inside this Distribution
sourcepub fn vulnerabilities<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, VulnerabilityPage>, Error>
pub fn vulnerabilities<'a>( &'a self, client: &'a dyn Client ) -> Result<PagedCollection<'a, VulnerabilityPage>, Error>
Vulnerabilities in this distribution.
sourcepub fn webhooks<'a>(
&'a self,
client: &'a dyn Client
) -> Result<PagedCollection<'a, WebhookPage>, Error>
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
impl Clone for DistributionFull
source§fn clone(&self) -> DistributionFull
fn clone(&self) -> DistributionFull
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DistributionFull
impl Debug for DistributionFull
source§impl<'de> Deserialize<'de> for DistributionFull
impl<'de> Deserialize<'de> for DistributionFull
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 DistributionFull
impl PartialEq for DistributionFull
source§fn eq(&self, other: &DistributionFull) -> bool
fn eq(&self, other: &DistributionFull) -> bool
self and other values to be equal, and is used
by ==.