Struct hubcaps::branches::Branches
[−]
[src]
pub struct Branches<C> where
C: Clone + Connect, { /* fields omitted */ }
reference to gists associated with a github user
Methods
impl<C: Clone + Connect> Branches<C>
[src]
fn list(&self) -> Future<Vec<Branch>>
[src]
list of branches for this repo
fn iter(&self) -> Stream<Branch>
[src]
provides an stream over branches for this repo
fn get<B>(&self, branch: B) -> Future<Branch> where
B: Into<String>,
[src]
B: Into<String>,
gets a branch for this repo by name
fn protection<B>(&self, branch: B, pro: &Protection) -> Future<ProtectionState> where
B: Into<String>,
[src]
B: Into<String>,
update branch production for a given branch
https://developer.github.com/v3/repos/branches/#update-branch-protection