pub struct Branches { /* private fields */ }Expand description
reference to gists associated with a github user
Implementations§
Source§impl Branches
impl Branches
Sourcepub fn protection<B>(
&self,
branch: B,
pro: &Protection,
) -> Future<ProtectionState>
pub fn protection<B>( &self, branch: B, pro: &Protection, ) -> Future<ProtectionState>
update branch production for a given branch
https://developer.github.com/v3/repos/branches/#update-branch-protection
Auto Trait Implementations§
impl Freeze for Branches
impl !RefUnwindSafe for Branches
impl Send for Branches
impl Sync for Branches
impl Unpin for Branches
impl !UnwindSafe for Branches
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