[][src]Struct octocrab::models::repos::Asset

pub struct Asset {
    pub url: Url,
    pub browser_download_url: Url,
    pub id: i64,
    pub node_id: String,
    pub name: String,
    pub label: Option<String>,
    pub state: String,
    pub content_type: String,
    pub size: i64,
    pub download_count: i64,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub uploader: User,
}

Fields

url: Urlbrowser_download_url: Urlid: i64node_id: Stringname: Stringlabel: Option<String>state: Stringcontent_type: Stringsize: i64download_count: i64created_at: DateTime<Utc>updated_at: DateTime<Utc>uploader: User

Trait Implementations

impl Clone for Asset[src]

impl Debug for Asset[src]

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

impl PartialEq<Asset> for Asset[src]

impl Serialize for Asset[src]

impl StructuralPartialEq for Asset[src]

Auto Trait Implementations

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