#[non_exhaustive]pub struct UnresolvePullRequestCommentsRequest {
pub parent: String,
pub names: Vec<String>,
pub auto_fill: bool,
/* private fields */
}Expand description
The request to unresolve multiple pull request comments.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. The pull request in which to resolve the pull request comments.
Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}
names: Vec<String>Required. The names of the pull request comments to unresolve. Format:
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}
Only comments from the same threads are allowed in the same request.
auto_fill: boolOptional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to unresolved. If unset, all comments in the same thread need be present.
Implementations§
Trait Implementations§
Source§impl Clone for UnresolvePullRequestCommentsRequest
impl Clone for UnresolvePullRequestCommentsRequest
Source§fn clone(&self) -> UnresolvePullRequestCommentsRequest
fn clone(&self) -> UnresolvePullRequestCommentsRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UnresolvePullRequestCommentsRequest
impl Default for UnresolvePullRequestCommentsRequest
Source§fn default() -> UnresolvePullRequestCommentsRequest
fn default() -> UnresolvePullRequestCommentsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UnresolvePullRequestCommentsRequest
impl PartialEq for UnresolvePullRequestCommentsRequest
Source§fn eq(&self, other: &UnresolvePullRequestCommentsRequest) -> bool
fn eq(&self, other: &UnresolvePullRequestCommentsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnresolvePullRequestCommentsRequest
Auto Trait Implementations§
impl Freeze for UnresolvePullRequestCommentsRequest
impl RefUnwindSafe for UnresolvePullRequestCommentsRequest
impl Send for UnresolvePullRequestCommentsRequest
impl Sync for UnresolvePullRequestCommentsRequest
impl Unpin for UnresolvePullRequestCommentsRequest
impl UnwindSafe for UnresolvePullRequestCommentsRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more