pub struct BranchesResource<'c, C: HttpClient> { /* private fields */ }Expand description
Operations on branches within a repository.
Implementations§
Source§impl<'c, C: HttpClient> BranchesResource<'c, C>
impl<'c, C: HttpClient> BranchesResource<'c, C>
Sourcepub async fn list(
&self,
params: &PaginationParams,
) -> Result<ListBranchesResponse, MesaError>
pub async fn list( &self, params: &PaginationParams, ) -> Result<ListBranchesResponse, MesaError>
Sourcepub fn list_all(&self) -> PageStream<C, ListBranchesResponse>
pub fn list_all(&self) -> PageStream<C, ListBranchesResponse>
Return a PageStream that iterates over all branches.
Auto Trait Implementations§
impl<'c, C> Freeze for BranchesResource<'c, C>
impl<'c, C> RefUnwindSafe for BranchesResource<'c, C>where
C: RefUnwindSafe,
impl<'c, C> Send for BranchesResource<'c, C>
impl<'c, C> Sync for BranchesResource<'c, C>
impl<'c, C> Unpin for BranchesResource<'c, C>
impl<'c, C> UnwindSafe for BranchesResource<'c, C>where
C: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more