Struct google_discovery1::api::RestDescription[][src]

pub struct RestDescription {
    pub auth: Option<RestDescriptionAuth>,
    pub base_path: Option<String>,
    pub base_url: Option<String>,
    pub batch_path: Option<String>,
    pub canonical_name: Option<String>,
    pub description: Option<String>,
    pub discovery_version: Option<String>,
    pub documentation_link: Option<String>,
    pub etag: Option<String>,
    pub exponential_backoff_default: Option<bool>,
    pub features: Option<Vec<String>>,
    pub icons: Option<RestDescriptionIcons>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub labels: Option<Vec<String>>,
    pub methods: Option<HashMap<String, RestMethod>>,
    pub name: Option<String>,
    pub owner_domain: Option<String>,
    pub owner_name: Option<String>,
    pub package_path: Option<String>,
    pub parameters: Option<HashMap<String, JsonSchema>>,
    pub protocol: Option<String>,
    pub resources: Option<HashMap<String, RestResource>>,
    pub revision: Option<String>,
    pub root_url: Option<String>,
    pub schemas: Option<HashMap<String, JsonSchema>>,
    pub service_path: Option<String>,
    pub title: Option<String>,
    pub version: Option<String>,
    pub version_module: Option<bool>,
}

There is no detailed description.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

auth: Option<RestDescriptionAuth>

Authentication information.

base_path: Option<String>

[DEPRECATED] The base path for REST requests.

base_url: Option<String>

[DEPRECATED] The base URL for REST requests.

batch_path: Option<String>

The path for REST batch requests.

canonical_name: Option<String>

Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.

description: Option<String>

The description of this API.

discovery_version: Option<String>

Indicate the version of the Discovery API used to generate this doc.

documentation_link: Option<String>

A link to human readable documentation for the API.

etag: Option<String>

The ETag for this response.

exponential_backoff_default: Option<bool>

Enable exponential backoff for suitable methods in the generated clients.

features: Option<Vec<String>>

A list of supported features for this API.

icons: Option<RestDescriptionIcons>

Links to 16x16 and 32x32 icons representing the API.

id: Option<String>

The ID of this API.

kind: Option<String>

The kind for this response.

labels: Option<Vec<String>>

Labels for the status of this API, such as labs or deprecated.

methods: Option<HashMap<String, RestMethod>>

API-level methods for this API.

name: Option<String>

The name of this API.

owner_domain: Option<String>

The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name.

owner_name: Option<String>

The name of the owner of this API. See ownerDomain.

package_path: Option<String>

The package of the owner of this API. See ownerDomain.

parameters: Option<HashMap<String, JsonSchema>>

Common parameters that apply across all apis.

protocol: Option<String>

The protocol described by this document.

resources: Option<HashMap<String, RestResource>>

The resources in this API.

revision: Option<String>

The version of this API.

root_url: Option<String>

The root URL under which all API services live.

schemas: Option<HashMap<String, JsonSchema>>

The schemas for this API.

service_path: Option<String>

The base path for all REST requests.

title: Option<String>

The title of this API.

version: Option<String>

The version of this API.

version_module: Option<bool>

no description provided

Trait Implementations

impl Clone for RestDescription[src]

impl Debug for RestDescription[src]

impl Default for RestDescription[src]

impl<'de> Deserialize<'de> for RestDescription[src]

impl ResponseResult for RestDescription[src]

impl Serialize for RestDescription[src]

Auto Trait Implementations

impl RefUnwindSafe for RestDescription[src]

impl Send for RestDescription[src]

impl Sync for RestDescription[src]

impl Unpin for RestDescription[src]

impl UnwindSafe for RestDescription[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.