Skip to main content

DistroSeriesDiff

Struct DistroSeriesDiff 

Source
pub struct DistroSeriesDiff {
Show 29 fields pub active: Option<bool>, pub advertise_by_hash: Option<bool>, pub backports_not_automatic: Option<bool>, pub bug_reported_acknowledgement: Option<String>, pub bug_reporting_guidelines: Option<String>, pub changeslist: Option<String>, pub content_templates: Option<String>, pub date_created: Option<DateTime<Utc>>, pub datereleased: Option<DateTime<Utc>>, pub description: Option<String>, pub displayname: Option<String>, pub distribution_link: Option<Url>, pub driver_link: Option<Url>, pub fullseriesname: Option<String>, pub include_long_descriptions: Option<bool>, pub index_compressors: Option<Vec<String>>, pub language_pack_full_export_requested: Option<bool>, pub main_archive_link: Option<Url>, pub name: Option<String>, pub nominatedarchindep_link: Option<Url>, pub proposed_not_automatic: Option<String>, pub publish_by_hash: Option<String>, pub publish_i18n_index: Option<String>, pub registrant_link: Option<Url>, pub status: Option<Status>, pub summary: Option<String>, pub supported: Option<bool>, pub title: Option<String>, pub version: Option<Version>,
}
Expand description

Representation of the distro_series-diff resource

Fields§

§active: Option<bool>

Active

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

§advertise_by_hash: Option<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.

§backports_not_automatic: Option<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: Option<String>

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

Email changes to

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

§content_templates: Option<String>

Templates to use for reporting a bug

This pre-defined template will be given to the users to guide them when reporting a bug.

§date_created: Option<DateTime<Utc>>

The date this series was registered.

§datereleased: Option<DateTime<Utc>>

Date released

§description: Option<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: Option<String>

Display name

The series displayname.

§distribution_link: Option<Url>

Distribution

The distribution for which this is a series.

§driver_link: Option<Url>

Driver

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

§fullseriesname: Option<String>

Series full name

The series full name, e.g. Ubuntu Warty

§include_long_descriptions: Option<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: Option<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: Option<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: Option<Url>

Distribution Main Archive

§name: Option<String>

Name

The name of this series.

§nominatedarchindep_link: Option<Url>

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

§proposed_not_automatic: Option<String>

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

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.

§publish_i18n_index: Option<String>

Publish I18n index

Publish archive i18n/Index file, which is believed to be unused.

§registrant_link: Option<Url>

Registrant

§status: Option<Status>

Status

§summary: Option<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: Option<bool>

Supported

Whether or not this series is currently supported.

§title: Option<String>

Title

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

§version: Option<Version>

Version

The version string for this series.

Implementations§

Source§

impl DistroSeriesDiff

Source

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

Distribution

The distribution for which this is a series.

Source

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

Set the distribution_link value.

Source

pub fn driver(&self) -> Option<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: Option<Person>)

Set the driver_link value.

Source

pub fn main_archive(&self) -> Option<Archive>

Distribution Main Archive

Source

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

Set the main_archive_link value.

Source

pub fn nominatedarchindep(&self) -> Option<DistroArchSeries>

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

Source

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

Set the nominatedarchindep_link value.

Source

pub fn registrant(&self) -> Option<Person>

Registrant

Source

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

Set the registrant_link value.

Trait Implementations§

Source§

impl Clone for DistroSeriesDiff

Source§

fn clone(&self) -> DistroSeriesDiff

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for DistroSeriesDiff

Source§

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

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

impl Default for DistroSeriesDiff

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for DistroSeriesDiff

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 DistroSeriesDiff

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 DistroSeriesDiff

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 DistroSeriesDiff

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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: Sized + 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: Sized + 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