launchpadlib::v1_0

Struct DistroSeriesFull

source
pub struct DistroSeriesFull {
Show 40 fields pub self_link: Option<Url>, pub web_link: Option<Url>, pub resource_type_link: Option<Url>, pub http_etag: Option<String>, pub active: bool, pub active_milestones_collection_link: Url, pub advertise_by_hash: bool, pub all_milestones_collection_link: Url, pub architectures_collection_link: Url, pub backports_not_automatic: bool, pub bug_reported_acknowledgement: bool, pub bug_reporting_guidelines: String, pub changeslist: String, pub component_names: Vec<String>, pub date_created: DateTime<Utc>, pub datereleased: DateTime<Utc>, pub description: String, pub displayname: String, pub distribution_link: Url, pub driver_link: Url, pub drivers_collection_link: Url, pub fullseriesname: String, pub include_long_descriptions: bool, pub index_compressors: Vec<String>, pub language_pack_full_export_requested: bool, pub main_archive_link: Url, pub name: String, pub nominatedarchindep_link: Url, pub official_bug_tags: bool, pub owner_link: Url, pub parent_series_link: Url, pub proposed_not_automatic: bool, pub publish_by_hash: bool, pub registrant_link: Url, pub status: Status, pub suite_names: Vec<String>, pub summary: String, pub supported: bool, pub title: String, pub version: Version,
}
Expand description

Representation of the distro_series-full resource

Fields§

§self_link: Option<Url>

The canonical link to this resource.

§web_link: Option<Url>

The canonical human-addressable web 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.

§active: bool

Active

Whether or not this series is stable and supported, or under current development. This excludes series which are experimental or obsolete.

§active_milestones_collection_link: Url

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

§advertise_by_hash: bool

Advertise by-hash directories

Advertise by-hash directories with a flag in the Release file so that apt uses them by default. Only effective if publish_by_hash is also set.

§all_milestones_collection_link: Url

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

§architectures_collection_link: Url

Enabled architectures

All architectures in this series with the ‘enabled’ flag set.

§backports_not_automatic: bool

Don’t upgrade to backports automatically

Set NotAutomatic: yes and ButAutomaticUpgrades: yes in Release files generated for the backports pocket. This tells apt to automatically upgrade within backports, but not into it.

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

§changeslist: String

Email changes to

The mailing list or other email address that Launchpad should notify about new uploads.

§component_names: Vec<String>

The series component names

§date_created: DateTime<Utc>

The date this series was registered.

§datereleased: DateTime<Utc>

Date released

§description: String

Description

A detailed description of this series, with information on the architectures covered, the availability of security updates and any other relevant information.

§displayname: String

Display name

The series displayname.

§distribution_link: Url

Distribution

The distribution for which this is a series.

§driver_link: Url

Driver

The person or team responsible for decisions about features and bugs that will be targeted to this series of the distribution.

§drivers_collection_link: Url

A list of the people or teams who are drivers for this series. This list is made up of any drivers or owners from this series and the parent drivers.

§fullseriesname: String

Series full name

The series full name, e.g. Ubuntu Warty

§include_long_descriptions: bool

Include long descriptions in Packages rather than in Translation-en

If True, write long descriptions to the per-architecture Packages files; if False, write them to a Translation-en file common across architectures instead. Using a common file reduces the bandwidth footprint of enabling multiarch on clients, which requires downloading Packages files for multiple architectures.

§index_compressors: Vec<String>

Compression types to use for published index files

A list of compression types to use for published index files (Packages, Sources, etc.).

§language_pack_full_export_requested: bool

Request a full language pack export

Whether next language pack generation will be a full export. This information is useful when update packs are too big and want to merge all those changes in the base pack.

§main_archive_link: Url

Distribution Main Archive

§name: String

Name

The name of this series.

§nominatedarchindep_link: Url

DistroArchSeries designed to build architecture-independent packages within this distroseries context.

§official_bug_tags: bool

Official Bug Tags

The list of bug tags defined as official.

§owner_link: Url

Owning team of the derived series

This attribute mirrors the owner of the distribution.

§parent_series_link: Url

Parent series

The series from which this one was branched.

§proposed_not_automatic: bool

Don’t upgrade to proposed updates automatically

Set NotAutomatic: yes and ButAutomaticUpgrades: yes in Release files generated for the proposed pocket. This tells apt to automatically upgrade within proposed, but not into it.

§publish_by_hash: bool

Publish by-hash directories

Publish archive index files in by-hash directories so that apt can retrieve them based on their hash, avoiding race conditions between InRelease and other files during mirror updates.

§registrant_link: Url

Registrant

§status: Status

Status

§suite_names: Vec<String>

The series pocket names

§summary: String

Summary

A single paragraph that explains the goals of of this series and the intended users. For example: “The 2.0 series of Apache represents the current stable series, and is recommended for all new deployments”.

§supported: bool

Supported

Whether or not this series is currently supported.

§title: String

Title

The title of this series. It should be distinctive and designed to look good at the top of a page.

§version: Version

Version

The version string for this series.

Implementations§

source§

impl DistroSeriesFull

source

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

The canonical link to this resource.

source

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

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 architectures<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, DistroArchSeriesPage>, Error>

Enabled architectures

All architectures in this series with the ‘enabled’ flag set.

source

pub fn distribution(&self) -> Distribution

Distribution

The distribution for which this is a series.

source

pub fn set_distribution(&mut self, value: Distribution)

source

pub fn driver(&self) -> Person

Driver

The person or team responsible for decisions about features and bugs that will be targeted to this series of the distribution.

source

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

source

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

A list of the people or teams who are drivers for this series. This list is made up of any drivers or owners from this series and the parent drivers.

source

pub fn main_archive(&self) -> Archive

Distribution Main Archive

source

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

source

pub fn nominatedarchindep(&self) -> DistroArchSeries

DistroArchSeries designed to build architecture-independent packages within this distroseries context.

source

pub fn set_nominatedarchindep(&mut self, value: DistroArchSeries)

source

pub fn owner(&self) -> Person

Owning team of the derived series

This attribute mirrors the owner of the distribution.

source

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

source

pub fn parent_series(&self) -> DistroSeries

Parent series

The series from which this one was branched.

source

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

source

pub fn registrant(&self) -> Person

Registrant

source

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

Trait Implementations§

source§

impl Clone for DistroSeriesFull

source§

fn clone(&self) -> DistroSeriesFull

Returns a copy of the value. Read more
1.6.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for DistroSeriesFull

source§

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

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

impl<'de> Deserialize<'de> for DistroSeriesFull

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 DistroSeriesFull

source§

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

Tests for self and other values to be equal, and is used by ==.
1.6.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 DistroSeriesFull

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 DistroSeriesFull

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> 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>,