[][src]Struct crates_io_api::Crate

pub struct Crate {
    pub id: String,
    pub name: String,
    pub description: Option<String>,
    pub license: Option<String>,
    pub documentation: Option<String>,
    pub homepage: Option<String>,
    pub repository: Option<String>,
    pub downloads: u64,
    pub categories: Option<Vec<String>>,
    pub keywords: Option<Vec<String>>,
    pub versions: Option<Vec<u64>>,
    pub max_version: String,
    pub links: CrateLinks,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}

Fields

id: Stringname: Stringdescription: Option<String>license: Option<String>documentation: Option<String>homepage: Option<String>repository: Option<String>downloads: u64categories: Option<Vec<String>>keywords: Option<Vec<String>>versions: Option<Vec<u64>>max_version: Stringlinks: CrateLinkscreated_at: DateTime<Utc>updated_at: DateTime<Utc>

Trait Implementations

impl Clone for Crate[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Crate[src]

impl Serialize for Crate[src]

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

Auto Trait Implementations

impl Send for Crate

impl Sync for Crate

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T