pub struct UpdateARepository<'a> {
Show 27 fields pub owner: &'a str, pub repo: &'a str, pub name: Option<&'a str>, pub description: Option<&'a str>, pub homepage: Option<&'a str>, pub private: Option<bool>, pub visibility: Option<&'a str>, pub security_and_analysis: Option<&'a str>, pub has_issues: Option<bool>, pub has_projects: Option<bool>, pub has_wiki: Option<bool>, pub is_template: Option<bool>, pub default_branch: 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 allow_update_branch: Option<bool>, pub use_squash_pr_title_as_default: 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 archived: Option<bool>, pub allow_forking: Option<bool>, pub web_commit_signoff_required: Option<bool>,
}
Expand description

Fields

owner: &'a strrepo: &'a strname: Option<&'a str>description: Option<&'a str>homepage: Option<&'a str>private: Option<bool>visibility: Option<&'a str>security_and_analysis: Option<&'a str>has_issues: Option<bool>has_projects: Option<bool>has_wiki: Option<bool>is_template: Option<bool>default_branch: 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>allow_update_branch: Option<bool>use_squash_pr_title_as_default: 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>archived: Option<bool>allow_forking: Option<bool>web_commit_signoff_required: Option<bool>

Implementations

Build a UpdateARepository instance.

Set a new owner.

Set a new repo.

Set a new name.

Set a new description.

Set a new homepage.

Set a new private.

Set a new visibility.

Set a new has_issues.

Set a new has_projects.

Set a new has_wiki.

Set a new is_template.

Set a new default_branch.

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 archived.

Set a new allow_forking.

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.