ProjectDiff

Struct ProjectDiff 

Source
pub struct ProjectDiff {
Show 40 fields pub active: Option<bool>, pub brand_link: Option<Url>, pub bug_reported_acknowledgement: Option<String>, pub bug_reporting_guidelines: Option<String>, pub bug_supervisor_link: Option<Url>, pub bug_tracker_link: Option<Url>, pub commercial_subscription_link: Option<Url>, pub content_templates: Option<String>, pub date_next_suggest_packaging: Option<DateTime<Utc>>, pub description: Option<String>, pub development_focus_link: Option<Url>, pub display_name: Option<String>, pub download_url: Option<Url>, pub driver_link: Option<Url>, pub freshmeat_project: Option<String>, pub homepage_url: Option<Url>, pub icon_link: Option<Url>, pub information_type: Option<InformationType>, pub license_approved: Option<bool>, pub license_info: Option<String>, pub licenses: Option<String>, pub logo_link: Option<Url>, pub name: Option<String>, pub official_answers: Option<bool>, pub official_blueprints: Option<bool>, pub official_bug_tags: Option<Vec<String>>, pub official_bugs: Option<bool>, pub official_codehosting: Option<bool>, pub owner_link: Option<Url>, pub programming_language: Option<String>, pub project_group_link: Option<Url>, pub project_reviewed: Option<bool>, pub remote_product: Option<String>, pub reviewer_whiteboard: Option<String>, pub screenshots_url: Option<Url>, pub sourceforge_project: Option<String>, pub summary: Option<String>, pub translation_focus_link: Option<Url>, pub vcs: Option<TargetRcsType>, pub wiki_url: Option<Url>,
}
Expand description

Representation of the project-diff resource

Fields§

§active: Option<bool>

Active

Whether or not this item is active.

§brand_link: Option<Url>

Brand

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

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

§bug_supervisor_link: Option<Url>

Bug Supervisor

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

§bug_tracker_link: Option<Url>

Bugs are tracked

§commercial_subscription_link: Option<Url>

Commercial subscriptions

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

§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_next_suggest_packaging: Option<DateTime<Utc>>

Next suggest packaging date

Obsolete. The date to resume Ubuntu package suggestions.

§description: Option<String>

Description

Details about the project’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_focus_link: Option<Url>

Development focus

The series that represents the master or trunk branch. The Bazaar URL lp:<project> points to the development focus series branch.

§display_name: Option<String>

Display Name

The name of the project as it would appear in a paragraph.

§download_url: Option<Url>

Download URL

The full URL where downloads for this project are located, if available. Please include the http://

§driver_link: Option<Url>

Driver

This person or team will be able to set feature goals for and approve bug targeting or backporting for ANY major series in this project. You might want to leave this blank and just appoint a team for each specific series, rather than having one project team that does it all.

§freshmeat_project: Option<String>

Freshmeat Project

The Freshmeat project name for this project, if it is in freshmeat.

§homepage_url: Option<Url>

Homepage URL

The project home page. Please include the http://

§icon_link: Option<Url>

Icon

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

§information_type: Option<InformationType>

Information Type

The type of data contained in this item.

§license_approved: Option<bool>

Licence approved

The project is legitimate and its licence appears valid. Not applicable to ‘Other/Proprietary’.

§license_info: Option<String>

Description of additional licences

Description of licences that do not appear in the list above.

§licenses: Option<String>

Licences

§logo_link: Option<Url>

Logo

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

§name: Option<String>

Name

At least one lowercase letter or number, followed by letters, numbers, dots, hyphens or pluses. Keep this name short; it is used in URLs as shown above.

§official_answers: Option<bool>

People can ask questions in Launchpad Answers

§official_blueprints: Option<bool>

This project uses blueprints

§official_bug_tags: Option<Vec<String>>

Official Bug Tags

The list of bug tags defined as official.

§official_bugs: Option<bool>

Bugs in this project are tracked in Launchpad

§official_codehosting: Option<bool>

Code for this project is published in Bazaar branches on Launchpad

§owner_link: Option<Url>

Maintainer

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

§programming_language: Option<String>

Programming Languages

A comma delimited list of programming languages used for this project.

§project_group_link: Option<Url>

Part of

Project group. This is an overarching initiative that includes several related projects. For example, the Mozilla Project produces Firefox, Thunderbird and Gecko. This information is used to group those projects in a coherent way. If you make this project part of a group, the group preferences and decisions around bug tracking, translation and security policy will apply to this project.

§project_reviewed: Option<bool>

Project reviewed

Whether or not this project has been reviewed. If you looked at the project and how it uses Launchpad, you reviewed it.

§remote_product: Option<String>

Remote bug tracker project id

Some bug trackers host multiple projects at the same URL and require an identifier for the specific project.

§reviewer_whiteboard: Option<String>

Notes for the project reviewer

Notes on the project’s licence, editable only by reviewers (Admins and Commercial Admins).

§screenshots_url: Option<Url>

Screenshots URL

The full URL for screenshots of this project, if available. Please include the http://

§sourceforge_project: Option<String>

Sourceforge Project

The SourceForge project name for this project, if it is in sourceforge.

§summary: Option<String>

Summary

A short paragraph to introduce the project’s work.

§translation_focus_link: Option<Url>

Translation focus

Project series that translators should focus on.

§vcs: Option<TargetRcsType>

VCS

Version control system for this project’s code.

§wiki_url: Option<Url>

Wiki URL

The full URL of this project’s wiki, if it has one. Please include the http://

Implementations§

Source§

impl ProjectDiff

Source

pub fn brand(&self) -> Option<HostedFile>

Brand

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

Source

pub fn set_brand(&mut self, value: Option<HostedFile>)

Source

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

Source

pub fn bug_tracker(&self) -> Option<BugTracker>

Bugs are tracked

Source

pub fn set_bug_tracker(&mut self, value: Option<BugTracker>)

Source

pub fn commercial_subscription(&self) -> Option<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: Option<CommercialSubscription>, )

Source

pub fn development_focus(&self) -> Option<ProjectSeries>

Development focus

The series that represents the master or trunk branch. The Bazaar URL lp:<project> points to the development focus series branch.

Source

pub fn set_development_focus(&mut self, value: Option<ProjectSeries>)

Source

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

Driver

This person or team will be able to set feature goals for and approve bug targeting or backporting for ANY major series in this project. You might want to leave this blank and just appoint a team for each specific series, rather than having one project team that does it all.

Source

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

Source

pub fn icon(&self) -> Option<HostedFile>

Icon

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

Source

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

Logo

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

Source

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

Maintainer

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

Source

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

Source

pub fn project_group(&self) -> Option<ProjectGroup>

Part of

Project group. This is an overarching initiative that includes several related projects. For example, the Mozilla Project produces Firefox, Thunderbird and Gecko. This information is used to group those projects in a coherent way. If you make this project part of a group, the group preferences and decisions around bug tracking, translation and security policy will apply to this project.

Source

pub fn set_project_group(&mut self, value: Option<ProjectGroup>)

Source

pub fn translation_focus(&self) -> Option<ProjectSeries>

Translation focus

Project series that translators should focus on.

Source

pub fn set_translation_focus(&mut self, value: Option<ProjectSeries>)

Trait Implementations§

Source§

impl Clone for ProjectDiff

Source§

fn clone(&self) -> ProjectDiff

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 ProjectDiff

Source§

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

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

impl Default for ProjectDiff

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for ProjectDiff

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 ProjectDiff

Source§

fn eq(&self, other: &ProjectDiff) -> 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 ProjectDiff

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 ProjectDiff

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