[][src]Struct ghub::v3::branch::GithubBranchClient

pub struct GithubBranchClient { /* fields omitted */ }

Implementations

impl GithubBranchClient[src]

pub fn new(
    reference_client: Arc<GithubReferenceClient>
) -> ResultDynError<GithubBranchClient>
[src]

impl GithubBranchClient[src]

pub async fn delete<'a, '_>(
    &'_ self,
    input: DeleteBranchInput<'a>
) -> ResultDynError<()>
[src]

This method returns a unit () because github returns 204 (no content) for successful response. https://docs.github.com/en/rest/reference/git#delete-a-reference

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