[][src]Struct gitea::Release

pub struct Release {
    pub id: i64,
    pub tag_name: String,
    pub target_commitish: String,
    pub name: String,
    pub body: String,
    pub url: String,
    pub tarball_url: String,
    pub zipball_url: String,
    pub draft: bool,
    pub prerelease: bool,
    pub created_at: String,
    pub published_at: String,
    pub author: User,
    pub assets: Vec<Attachment>,
}

A repository release. https://try.gitea.io/api/swagger#model-Release

Fields

id: i64tag_name: Stringtarget_commitish: Stringname: Stringbody: Stringurl: Stringtarball_url: Stringzipball_url: Stringdraft: boolprerelease: boolcreated_at: Stringpublished_at: Stringauthor: Userassets: Vec<Attachment>

Trait Implementations

impl Clone for Release[src]

impl Debug for Release[src]

impl Default for Release[src]

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

impl PartialEq<Release> for Release[src]

impl Serialize for Release[src]

impl StructuralPartialEq for Release[src]

Auto Trait Implementations

impl RefUnwindSafe for Release

impl Send for Release

impl Sync for Release

impl Unpin for Release

impl UnwindSafe for Release

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