[−][src]Struct ghub::v3::branch::GithubBranchClient
Implementations
impl GithubBranchClient
[src]
pub fn new(
reference_client: Arc<GithubReferenceClient>
) -> ResultDynError<GithubBranchClient>
[src]
reference_client: Arc<GithubReferenceClient>
) -> ResultDynError<GithubBranchClient>
impl GithubBranchClient
[src]
pub async fn delete<'a, '_>(
&'_ self,
input: DeleteBranchInput<'a>
) -> ResultDynError<()>
[src]
&'_ self,
input: DeleteBranchInput<'a>
) -> ResultDynError<()>
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
impl !RefUnwindSafe for GithubBranchClient
impl Send for GithubBranchClient
impl Sync for GithubBranchClient
impl Unpin for GithubBranchClient
impl !UnwindSafe for GithubBranchClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,