#[non_exhaustive]pub struct ResolvePullRequestCommentsRequest {
pub parent: String,
pub names: Vec<String>,
pub auto_fill: bool,
/* private fields */
}Expand description
The request to resolve 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 resolve. 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 resolved. If unset, all comments in the same thread need be present.
Implementations§
Trait Implementations§
Source§impl Clone for ResolvePullRequestCommentsRequest
impl Clone for ResolvePullRequestCommentsRequest
Source§fn clone(&self) -> ResolvePullRequestCommentsRequest
fn clone(&self) -> ResolvePullRequestCommentsRequest
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 ResolvePullRequestCommentsRequest
impl Default for ResolvePullRequestCommentsRequest
Source§fn default() -> ResolvePullRequestCommentsRequest
fn default() -> ResolvePullRequestCommentsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ResolvePullRequestCommentsRequest
impl PartialEq for ResolvePullRequestCommentsRequest
Source§fn eq(&self, other: &ResolvePullRequestCommentsRequest) -> bool
fn eq(&self, other: &ResolvePullRequestCommentsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvePullRequestCommentsRequest
Auto Trait Implementations§
impl Freeze for ResolvePullRequestCommentsRequest
impl RefUnwindSafe for ResolvePullRequestCommentsRequest
impl Send for ResolvePullRequestCommentsRequest
impl Sync for ResolvePullRequestCommentsRequest
impl Unpin for ResolvePullRequestCommentsRequest
impl UnwindSafe for ResolvePullRequestCommentsRequest
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