ProjectFull

Struct ProjectFull 

Source
pub struct ProjectFull {
Show 59 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 all_milestones_collection_link: Url, pub brand_link: Url, pub bug_reported_acknowledgement: String, pub bug_reporting_guidelines: String, pub bug_supervisor_link: Url, pub bug_tracker_link: Url, pub commercial_subscription_link: Url, pub commercial_subscription_is_due: bool, pub content_templates: Option<String>, pub date_created: DateTime<Utc>, pub date_next_suggest_packaging: DateTime<Utc>, pub description: String, pub development_focus_link: Url, pub display_name: String, pub download_url: Url, pub driver_link: Url, pub freshmeat_project: String, pub homepage_url: Url, pub icon_link: Url, pub information_type: InformationType, pub is_permitted: bool, pub license_approved: bool, pub license_info: String, pub licenses: String, pub logo_link: Url, pub name: String, pub official_answers: bool, pub official_blueprints: bool, pub official_bug_tags: Vec<String>, pub official_bugs: bool, pub official_codehosting: bool, pub owner_link: Url, pub private: bool, pub private_bugs: bool, pub programming_language: String, pub project_group_link: Url, pub project_reviewed: bool, pub qualifies_for_free_hosting: bool, pub recipes_collection_link: Url, pub registrant_link: Url, pub releases_collection_link: Url, pub remote_product: String, pub reviewer_whiteboard: String, pub screenshots_url: Url, pub security_contact: String, pub series_collection_link: Url, pub sourceforge_project: String, pub summary: String, pub title: String, pub translation_focus_link: Url, pub vcs: TargetRcsType, pub webhooks_collection_link: Url, pub wiki_url: Url,
}
Expand description

Representation of the project-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 item is active.

§active_milestones_collection_link: Url

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

§all_milestones_collection_link: Url

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

§brand_link: 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: 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: 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: Url

Bug Supervisor

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

§bug_tracker_link: Url

Bugs are tracked

§commercial_subscription_link: Url

Commercial subscriptions

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

§commercial_subscription_is_due: bool

Commercial subscription is due

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

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

Date Created

The date this project was created in Launchpad.

§date_next_suggest_packaging: DateTime<Utc>

Next suggest packaging date

Obsolete. The date to resume Ubuntu package suggestions.

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

Display Name

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

§download_url: Url

Download URL

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

§driver_link: 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: String

Freshmeat Project

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

§homepage_url: Url

Homepage URL

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

§icon_link: 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: InformationType

Information Type

The type of data contained in this item.

§is_permitted: bool

Is Permitted

Whether the project’s licensing qualifies for free hosting or the project has an up-to-date subscription.

§license_approved: bool

Licence approved

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

§license_info: String

Description of additional licences

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

§licenses: String

Licences

§logo_link: 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: 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: bool

People can ask questions in Launchpad Answers

§official_blueprints: bool

This project uses blueprints

§official_bug_tags: Vec<String>

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

§owner_link: Url

Maintainer

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

§private: bool

Product is confidential

This product is visible only to those with access grants.

§private_bugs: bool

Private bugs (obsolete; always False)

Replaced by bug_sharing_policy.

§programming_language: String

Programming Languages

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

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

§qualifies_for_free_hosting: bool

Qualifies for free hosting

Whether the project’s licensing qualifies it for free use of launchpad.

§recipes_collection_link: Url

All recipes associated with the object.

§registrant_link: Url

Registrant

This person registered the project in Launchpad.

§releases_collection_link: Url

An iterator over the ProductReleases for this product.

§remote_product: 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: String

Notes for the project reviewer

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

§screenshots_url: Url

Screenshots URL

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

§security_contact: String

Security contact

Security contact (obsolete; always None)

§series_collection_link: Url§sourceforge_project: String

Sourceforge Project

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

§summary: String

Summary

A short paragraph to introduce the project’s work.

§title: String

Title

The project title. Should be just a few words.

§translation_focus_link: Url

Translation focus

Project series that translators should focus on.

§vcs: TargetRcsType

VCS

Version control system for this project’s code.

§webhooks_collection_link: Url

Webhooks for this target.

§wiki_url: Url

Wiki URL

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

Implementations§

Source§

impl ProjectFull

Source

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

The canonical link to this resource.

Source

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

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 brand(&self) -> 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: HostedFile)

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 bug_tracker(&self) -> BugTracker

Bugs are tracked

Source

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

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 development_focus(&self) -> 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: ProjectSeries)

Source

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

Maintainer

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

Source

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

Source

pub fn project_group(&self) -> 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: ProjectGroup)

Source

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

All recipes associated with the object.

Source

pub fn registrant(&self) -> Person

Registrant

This person registered the project in Launchpad.

Source

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

Source

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

An iterator over the ProductReleases for this product.

Source

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

Source

pub fn translation_focus(&self) -> ProjectSeries

Translation focus

Project series that translators should focus on.

Source

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

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 ProjectFull

Source§

fn clone(&self) -> ProjectFull

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 ProjectFull

Source§

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

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

impl<'de> Deserialize<'de> for ProjectFull

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 ProjectFull

Source§

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

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 ProjectFull

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