Skip to main content

ServiceRootJson

Struct ServiceRootJson 

Source
pub struct ServiceRootJson {
Show 34 fields pub archives_collection_link: Option<Url>, pub branches_collection_link: Option<Url>, pub bug_trackers_collection_link: Option<Url>, pub bugs_collection_link: Option<Url>, pub builders_collection_link: Option<Url>, pub charm_bases_collection_link: Option<Url>, pub charm_recipes_collection_link: Option<Url>, pub countries_collection_link: Option<Url>, pub craft_recipes_collection_link: Option<Url>, pub cves_collection_link: Option<Url>, pub distributions_collection_link: Option<Url>, pub git_repositories_collection_link: Option<Url>, pub languages_collection_link: Option<Url>, pub livefses_collection_link: Option<Url>, pub me_link: Option<Url>, pub packagesets_collection_link: Option<Url>, pub people_collection_link: Option<Url>, pub pillars_link: Option<Url>, pub polls_collection_link: Option<Url>, pub processors_collection_link: Option<Url>, pub project_groups_collection_link: Option<Url>, pub projects_collection_link: Option<Url>, pub questions_collection_link: Option<Url>, pub rock_bases_collection_link: Option<Url>, pub rock_recipes_collection_link: Option<Url>, pub services_link: Option<Url>, pub snap_bases_collection_link: Option<Url>, pub snappy_serieses_collection_link: Option<Url>, pub snaps_collection_link: Option<Url>, pub specifications_collection_link: Option<Url>, pub temporary_blobs_collection_link: Option<Url>, pub translation_groups_collection_link: Option<Url>, pub translation_import_queue_entries_collection_link: Option<Url>, pub resource_type_link: Option<Url>,
}
Expand description

§About this service

The Launchpad web service allows automated clients to access most of the functionality available on the Launchpad web site. For help getting started, see the help wiki.

§About version 1.0

This version of the web service removes unnecessary named operations. It was introduced in March 2010, and its end-of-life date is April 2015, the same as the server version of the Ubuntu release “Lucid Lynx”. Representation of the service-root-json resource

Fields§

§archives_collection_link: Option<Url>§branches_collection_link: Option<Url>§bug_trackers_collection_link: Option<Url>§bugs_collection_link: Option<Url>§builders_collection_link: Option<Url>§charm_bases_collection_link: Option<Url>§charm_recipes_collection_link: Option<Url>§countries_collection_link: Option<Url>§craft_recipes_collection_link: Option<Url>§cves_collection_link: Option<Url>§distributions_collection_link: Option<Url>§git_repositories_collection_link: Option<Url>§languages_collection_link: Option<Url>§livefses_collection_link: Option<Url>§me_link: Option<Url>§packagesets_collection_link: Option<Url>§people_collection_link: Option<Url>§pillars_link: Option<Url>§polls_collection_link: Option<Url>§processors_collection_link: Option<Url>§project_groups_collection_link: Option<Url>§projects_collection_link: Option<Url>§questions_collection_link: Option<Url>§rock_bases_collection_link: Option<Url>§rock_recipes_collection_link: Option<Url>§services_link: Option<Url>§snap_bases_collection_link: Option<Url>§snappy_serieses_collection_link: Option<Url>§snaps_collection_link: Option<Url>§specifications_collection_link: Option<Url>§temporary_blobs_collection_link: Option<Url>§translation_groups_collection_link: Option<Url>§translation_import_queue_entries_collection_link: Option<Url>§resource_type_link: Option<Url>

The link to the WADL description of this resource.

Implementations§

Source§

impl ServiceRootJson

Source

pub fn archives(&self) -> Option<Archives>

Get the archives_collection_link value.

Source

pub fn set_archives(&mut self, value: Option<Archives>)

Set the archives_collection_link value.

Source

pub fn branches(&self) -> Option<Branches>

Get the branches_collection_link value.

Source

pub fn set_branches(&mut self, value: Option<Branches>)

Set the branches_collection_link value.

Source

pub fn bug_trackers(&self) -> Option<BugTrackers>

Get the bug_trackers_collection_link value.

Source

pub fn set_bug_trackers(&mut self, value: Option<BugTrackers>)

Set the bug_trackers_collection_link value.

Source

pub fn bugs(&self) -> Option<Bugs>

Get the bugs_collection_link value.

Source

pub fn set_bugs(&mut self, value: Option<Bugs>)

Set the bugs_collection_link value.

Source

pub fn builders(&self) -> Option<Builders>

Get the builders_collection_link value.

Source

pub fn set_builders(&mut self, value: Option<Builders>)

Set the builders_collection_link value.

Source

pub fn charm_bases(&self) -> Option<CharmBases>

Get the charm_bases_collection_link value.

Source

pub fn set_charm_bases(&mut self, value: Option<CharmBases>)

Set the charm_bases_collection_link value.

Source

pub fn charm_recipes(&self) -> Option<CharmRecipes>

Get the charm_recipes_collection_link value.

Source

pub fn set_charm_recipes(&mut self, value: Option<CharmRecipes>)

Set the charm_recipes_collection_link value.

Source

pub fn countries(&self) -> Option<Countries>

Get the countries_collection_link value.

Source

pub fn set_countries(&mut self, value: Option<Countries>)

Set the countries_collection_link value.

Source

pub fn craft_recipes(&self) -> Option<CraftRecipes>

Get the craft_recipes_collection_link value.

Source

pub fn set_craft_recipes(&mut self, value: Option<CraftRecipes>)

Set the craft_recipes_collection_link value.

Source

pub fn cves(&self) -> Option<Cves>

Get the cves_collection_link value.

Source

pub fn set_cves(&mut self, value: Option<Cves>)

Set the cves_collection_link value.

Source

pub fn distributions(&self) -> Option<Distributions>

Get the distributions_collection_link value.

Source

pub fn set_distributions(&mut self, value: Option<Distributions>)

Set the distributions_collection_link value.

Source

pub fn git_repositories(&self) -> Option<GitRepositories>

Get the git_repositories_collection_link value.

Source

pub fn set_git_repositories(&mut self, value: Option<GitRepositories>)

Set the git_repositories_collection_link value.

Source

pub fn languages(&self) -> Option<Languages>

Get the languages_collection_link value.

Source

pub fn set_languages(&mut self, value: Option<Languages>)

Set the languages_collection_link value.

Source

pub fn livefses(&self) -> Option<Livefses>

Get the livefses_collection_link value.

Source

pub fn set_livefses(&mut self, value: Option<Livefses>)

Set the livefses_collection_link value.

Source

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

Get the me_link value.

Source

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

Set the me_link value.

Source

pub fn packagesets(&self) -> Option<Packagesets>

Get the packagesets_collection_link value.

Source

pub fn set_packagesets(&mut self, value: Option<Packagesets>)

Set the packagesets_collection_link value.

Source

pub fn people(&self) -> Option<People>

Get the people_collection_link value.

Source

pub fn set_people(&mut self, value: Option<People>)

Set the people_collection_link value.

Source

pub fn pillars(&self) -> Option<Pillars>

Get the pillars_link value.

Source

pub fn set_pillars(&mut self, value: Option<Pillars>)

Set the pillars_link value.

Source

pub fn polls(&self) -> Option<Polls>

Get the polls_collection_link value.

Source

pub fn set_polls(&mut self, value: Option<Polls>)

Set the polls_collection_link value.

Source

pub fn processors(&self) -> Option<Processors>

Get the processors_collection_link value.

Source

pub fn set_processors(&mut self, value: Option<Processors>)

Set the processors_collection_link value.

Source

pub fn project_groups(&self) -> Option<ProjectGroups>

Get the project_groups_collection_link value.

Source

pub fn set_project_groups(&mut self, value: Option<ProjectGroups>)

Set the project_groups_collection_link value.

Source

pub fn projects(&self) -> Option<Projects>

Get the projects_collection_link value.

Source

pub fn set_projects(&mut self, value: Option<Projects>)

Set the projects_collection_link value.

Source

pub fn questions(&self) -> Option<Questions>

Get the questions_collection_link value.

Source

pub fn set_questions(&mut self, value: Option<Questions>)

Set the questions_collection_link value.

Source

pub fn rock_bases(&self) -> Option<RockBases>

Get the rock_bases_collection_link value.

Source

pub fn set_rock_bases(&mut self, value: Option<RockBases>)

Set the rock_bases_collection_link value.

Source

pub fn rock_recipes(&self) -> Option<RockRecipes>

Get the rock_recipes_collection_link value.

Source

pub fn set_rock_recipes(&mut self, value: Option<RockRecipes>)

Set the rock_recipes_collection_link value.

Source

pub fn services(&self) -> Option<ServiceFactory>

Get the services_link value.

Source

pub fn set_services(&mut self, value: Option<ServiceFactory>)

Set the services_link value.

Source

pub fn snap_bases(&self) -> Option<SnapBases>

Get the snap_bases_collection_link value.

Source

pub fn set_snap_bases(&mut self, value: Option<SnapBases>)

Set the snap_bases_collection_link value.

Source

pub fn snappy_serieses(&self) -> Option<SnappySerieses>

Get the snappy_serieses_collection_link value.

Source

pub fn set_snappy_serieses(&mut self, value: Option<SnappySerieses>)

Set the snappy_serieses_collection_link value.

Source

pub fn snaps(&self) -> Option<Snaps>

Get the snaps_collection_link value.

Source

pub fn set_snaps(&mut self, value: Option<Snaps>)

Set the snaps_collection_link value.

Source

pub fn specifications(&self) -> Option<Specifications>

Get the specifications_collection_link value.

Source

pub fn set_specifications(&mut self, value: Option<Specifications>)

Set the specifications_collection_link value.

Source

pub fn temporary_blobs(&self) -> Option<TemporaryBlobs>

Get the temporary_blobs_collection_link value.

Source

pub fn set_temporary_blobs(&mut self, value: Option<TemporaryBlobs>)

Set the temporary_blobs_collection_link value.

Source

pub fn translation_groups(&self) -> Option<TranslationGroups>

Get the translation_groups_collection_link value.

Source

pub fn set_translation_groups(&mut self, value: Option<TranslationGroups>)

Set the translation_groups_collection_link value.

Source

pub fn translation_import_queue_entries( &self, ) -> Option<TranslationImportQueueEntries>

Get the translation_import_queue_entries_collection_link value.

Source

pub fn set_translation_import_queue_entries( &mut self, value: Option<TranslationImportQueueEntries>, )

Set the translation_import_queue_entries_collection_link value.

Trait Implementations§

Source§

impl Clone for ServiceRootJson

Source§

fn clone(&self) -> ServiceRootJson

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 ServiceRootJson

Source§

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

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

impl Default for ServiceRootJson

Source§

fn default() -> Self

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

impl<'de> Deserialize<'de> for ServiceRootJson

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 ServiceRootJson

Source§

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

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 ServiceRootJson

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