Struct hubcaps::repositories::RepoOptions
source · pub struct RepoOptions {
pub name: String,
pub description: Option<String>,
pub homepage: Option<String>,
pub private: Option<bool>,
pub has_issues: Option<bool>,
pub has_wiki: Option<bool>,
pub has_downloads: Option<bool>,
pub team_id: Option<i32>,
pub auto_init: Option<bool>,
pub gitignore_template: Option<String>,
pub license_template: Option<String>,
}
Fields
name: String
description: Option<String>
homepage: Option<String>
private: Option<bool>
false by default
has_issues: Option<bool>
has_wiki: Option<bool>
has_downloads: Option<bool>
team_id: Option<i32>
auto_init: Option<bool>
gitignore_template: Option<String>
license_template: Option<String>
Implementations
sourceimpl RepoOptions
impl RepoOptions
pub fn new<N, D, H, GI, L>(
name: N,
description: Option<D>,
homepage: Option<H>,
private: Option<bool>,
has_issues: Option<bool>,
has_wiki: Option<bool>,
has_downloads: Option<bool>,
team_id: Option<i32>,
auto_init: Option<bool>,
gitignore_template: Option<GI>,
license_template: Option<L>
) -> Selfwhere
N: Into<String>,
D: Into<String>,
H: Into<String>,
GI: Into<String>,
L: Into<String>,
pub fn builder<N: Into<String>>(name: N) -> RepoOptionsBuilder
Trait Implementations
sourceimpl Debug for RepoOptions
impl Debug for RepoOptions
sourceimpl Default for RepoOptions
impl Default for RepoOptions
sourcefn default() -> RepoOptions
fn default() -> RepoOptions
Returns the “default value” for a type. Read more
sourceimpl Serialize for RepoOptions
impl Serialize for RepoOptions
Auto Trait Implementations
impl RefUnwindSafe for RepoOptions
impl Send for RepoOptions
impl Sync for RepoOptions
impl Unpin for RepoOptions
impl UnwindSafe for RepoOptions
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