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>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl Clone for ServiceRootJson

Source§

fn clone(&self) -> ServiceRootJson

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