pub struct DirectoryListItems {
    pub kind: Option<String>,
    pub discovery_rest_url: Option<String>,
    pub description: Option<String>,
    pub icons: Option<DirectoryListItemsIcons>,
    pub labels: Option<Vec<String>>,
    pub preferred: Option<bool>,
    pub discovery_link: Option<String>,
    pub version: Option<String>,
    pub title: Option<String>,
    pub documentation_link: Option<String>,
    pub id: Option<String>,
    pub name: Option<String>,
}
Expand description

The individual directory entries. One entry per api/version pair.

This type is not used in any activity, and only used as part of another schema.

Fields§

§kind: Option<String>

The kind for this response.

§discovery_rest_url: Option<String>

The URL for the discovery REST document.

§description: Option<String>

The description of this API.

§icons: Option<DirectoryListItemsIcons>

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

§labels: Option<Vec<String>>

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

§preferred: Option<bool>

True if this version is the preferred version to use.

§discovery_link: Option<String>

A link to the discovery document.

§version: Option<String>

The version of the API.

§title: Option<String>

The title of this API.

§documentation_link: Option<String>

A link to human readable documentation for the API.

§id: Option<String>

The id of this API.

§name: Option<String>

The name of the API.

Trait Implementations§

source§

impl Clone for DirectoryListItems

source§

fn clone(&self) -> DirectoryListItems

Returns a copy 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 DirectoryListItems

source§

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

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

impl Default for DirectoryListItems

source§

fn default() -> DirectoryListItems

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

impl Deserialize for DirectoryListItems

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for DirectoryListItems

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 NestedType for DirectoryListItems

source§

impl Part for DirectoryListItems

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere 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> ToJson for Twhere T: Serialize + ?Sized,

source§

fn to_json(&self) -> Result<Value, Error>

Represent self as a serde_json::Value. Note that Value is not a JSON string. If you need a string, use serde_json::to_string instead. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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

impl<T> Typeable for Twhere T: Any,

§

fn get_type(&self) -> TypeId

Get the TypeId of this object.