#[non_exhaustive]pub struct GetPullRequestCommentRequest {
pub name: String,
/* private fields */
}Expand description
The request to get a pull request comment.
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.name: StringRequired. Name of the pull request comment to retrieve.
The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}.
Implementations§
Trait Implementations§
Source§impl Clone for GetPullRequestCommentRequest
impl Clone for GetPullRequestCommentRequest
Source§fn clone(&self) -> GetPullRequestCommentRequest
fn clone(&self) -> GetPullRequestCommentRequest
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 Debug for GetPullRequestCommentRequest
impl Debug for GetPullRequestCommentRequest
Source§impl Default for GetPullRequestCommentRequest
impl Default for GetPullRequestCommentRequest
Source§fn default() -> GetPullRequestCommentRequest
fn default() -> GetPullRequestCommentRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetPullRequestCommentRequest
impl PartialEq for GetPullRequestCommentRequest
Source§fn eq(&self, other: &GetPullRequestCommentRequest) -> bool
fn eq(&self, other: &GetPullRequestCommentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPullRequestCommentRequest
Auto Trait Implementations§
impl Freeze for GetPullRequestCommentRequest
impl RefUnwindSafe for GetPullRequestCommentRequest
impl Send for GetPullRequestCommentRequest
impl Sync for GetPullRequestCommentRequest
impl Unpin for GetPullRequestCommentRequest
impl UnwindSafe for GetPullRequestCommentRequest
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