pub struct CreateARepositoryForTheAuthenticatedUser<'a> {
Show 23 fields pub name: &'a str, pub description: Option<&'a str>, pub homepage: Option<&'a str>, pub private: Option<bool>, pub has_issues: Option<bool>, pub has_projects: Option<bool>, pub has_wiki: Option<bool>, pub has_discussions: Option<bool>, pub team_id: Option<u8>, pub auto_init: Option<bool>, pub gitignore_template: Option<&'a str>, pub license_template: Option<&'a str>, pub allow_squash_merge: Option<bool>, pub allow_merge_commit: Option<bool>, pub allow_rebase_merge: Option<bool>, pub allow_auto_merge: Option<bool>, pub delete_branch_on_merge: Option<bool>, pub squash_merge_commit_title: Option<&'a str>, pub squash_merge_commit_message: Option<&'a str>, pub merge_commit_title: Option<&'a str>, pub merge_commit_message: Option<&'a str>, pub has_downloads: Option<bool>, pub is_template: Option<bool>,
}
Expand description

Fields

name: &'a strdescription: Option<&'a str>homepage: Option<&'a str>private: Option<bool>has_issues: Option<bool>has_projects: Option<bool>has_wiki: Option<bool>has_discussions: Option<bool>team_id: Option<u8>auto_init: Option<bool>gitignore_template: Option<&'a str>license_template: Option<&'a str>allow_squash_merge: Option<bool>allow_merge_commit: Option<bool>allow_rebase_merge: Option<bool>allow_auto_merge: Option<bool>delete_branch_on_merge: Option<bool>squash_merge_commit_title: Option<&'a str>squash_merge_commit_message: Option<&'a str>merge_commit_title: Option<&'a str>merge_commit_message: Option<&'a str>has_downloads: Option<bool>is_template: Option<bool>

Implementations

Set a new name.

Set a new description.

Set a new homepage.

Set a new private.

Set a new has_issues.

Set a new has_projects.

Set a new has_wiki.

Set a new has_discussions.

Set a new team_id.

Set a new auto_init.

Set a new gitignore_template.

Set a new license_template.

Set a new allow_squash_merge.

Set a new allow_merge_commit.

Set a new allow_rebase_merge.

Set a new allow_auto_merge.

Set a new merge_commit_title.

Set a new has_downloads.

Set a new is_template.

Trait Implementations

Request’s header Accept’s value.
Request’s target URI/URL.
GitHub REST APIs’ base prefix.
HTTP method.
Request’s payload parameters. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.