Struct hubcaps_ex::releases::Releases[][src]

pub struct Releases { /* fields omitted */ }

Provides access to published releases. See the github docs for more information.

Implementations

impl Releases[src]

pub fn create(&self, rel: &ReleaseOptions) -> Future<Release>[src]

Create new a release.

See the github docs for more information.

pub fn edit(&self, id: u64, rel: &ReleaseOptions) -> Future<Release>[src]

Edit a release by id.

See the github docs for more information.

pub fn delete(&self, id: u64) -> Future<()>[src]

Delete a release by id.

See the github docs for more information.

pub fn list(&self) -> Future<Vec<Release>>[src]

List published releases and draft releases for users with push access.

See the github docs for more information.

pub fn latest(&self) -> Future<Release>[src]

Return the latest full release. Draft releases and prereleases are not returned.

See the github docs for more information.

pub fn by_tag<S>(&self, tag_name: S) -> Future<Release> where
    S: Into<String>, 
[src]

Return a release by tag name.

See the github docs for more information.

pub fn get(&self, id: u64) -> ReleaseRef[src]

Get a reference to a specific release associated with a repository

Auto Trait Implementations

impl !RefUnwindSafe for Releases

impl Send for Releases

impl Sync for Releases

impl Unpin for Releases

impl !UnwindSafe for Releases

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