Struct hubcaps::repositories::RepoOptionsBuilder
source · pub struct RepoOptionsBuilder(_);
Implementations
sourceimpl RepoOptionsBuilder
impl RepoOptionsBuilder
pub fn description<D>(&mut self, description: D) -> &mut Selfwhere
D: Into<String>,
pub fn homepage<H>(&mut self, homepage: H) -> &mut Selfwhere
H: Into<String>,
pub fn private(&mut self, private: bool) -> &mut Self
pub fn has_issues(&mut self, has_issues: bool) -> &mut Self
pub fn has_wiki(&mut self, has_wiki: bool) -> &mut Self
pub fn has_downloads(&mut self, has_downloads: bool) -> &mut Self
pub fn team_id(&mut self, team_id: i32) -> &mut Self
pub fn auto_init(&mut self, auto_init: bool) -> &mut Self
pub fn gitignore_template<GI>(&mut self, gitignore_template: GI) -> &mut Selfwhere
GI: Into<String>,
pub fn license_template<L>(&mut self, license_template: L) -> &mut Selfwhere
L: Into<String>,
pub fn build(&self) -> RepoOptions
Auto Trait Implementations
impl RefUnwindSafe for RepoOptionsBuilder
impl Send for RepoOptionsBuilder
impl Sync for RepoOptionsBuilder
impl Unpin for RepoOptionsBuilder
impl UnwindSafe for RepoOptionsBuilder
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