Struct hubcaps::rep::RepoOptionsBuilder
[−]
[src]
pub struct RepoOptionsBuilder { /* fields omitted */ }
Methods
impl RepoOptionsBuilder
[src]
fn new<N>(name: N) -> RepoOptionsBuilder where N: Into<String>
fn description<D>(&mut self, description: D) -> &mut RepoOptionsBuilder where D: Into<String>
fn homepage<H>(&mut self, homepage: H) -> &mut RepoOptionsBuilder where H: Into<String>
fn private(&mut self, private: bool) -> &mut RepoOptionsBuilder
fn has_issues(&mut self, has_issues: bool) -> &mut RepoOptionsBuilder
fn has_wiki(&mut self, has_wiki: bool) -> &mut RepoOptionsBuilder
fn has_downloads(&mut self, has_downloads: bool) -> &mut RepoOptionsBuilder
fn team_id(&mut self, team_id: i32) -> &mut RepoOptionsBuilder
fn auto_init(&mut self, auto_init: bool) -> &mut RepoOptionsBuilder
fn gitignore_template<GI>(&mut self,
gitignore_template: GI)
-> &mut RepoOptionsBuilder where GI: Into<String>
gitignore_template: GI)
-> &mut RepoOptionsBuilder where GI: Into<String>
fn license_template<L>(&mut self,
license_template: L)
-> &mut RepoOptionsBuilder where L: Into<String>
license_template: L)
-> &mut RepoOptionsBuilder where L: Into<String>
fn build(&self) -> RepoOptions
Trait Implementations
impl Default for RepoOptionsBuilder
[src]
fn default() -> RepoOptionsBuilder
Returns the "default value" for a type. Read more