Expand description
reference to gists associated with a github user
Implementations
sourceimpl<C: Clone + Connect + 'static> Branches<C>
impl<C: Clone + Connect + 'static> Branches<C>
sourcepub fn get<B>(&self, branch: B) -> Future<Branch>where
B: Into<String>,
pub fn get<B>(&self, branch: B) -> Future<Branch>where
B: Into<String>,
gets a branch for this repo by name
sourcepub fn protection<B>(
&self,
branch: B,
pro: &Protection
) -> Future<ProtectionState>where
B: Into<String>,
pub fn protection<B>(
&self,
branch: B,
pro: &Protection
) -> Future<ProtectionState>where
B: Into<String>,
update branch production for a given branch
https://developer.github.com/v3/repos/branches/#update-branch-protection
Auto Trait Implementations
impl<C> !RefUnwindSafe for Branches<C>
impl<C> Send for Branches<C>
impl<C> Sync for Branches<C>
impl<C> Unpin for Branches<C>
impl<C> !UnwindSafe for Branches<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more