#[non_exhaustive]pub struct ListPullRequestCommentsResponse {
pub pull_request_comments: Vec<PullRequestComment>,
pub next_page_token: String,
/* private fields */
}Expand description
The response to list 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.pull_request_comments: Vec<PullRequestComment>The list of pull request comments.
next_page_token: StringA token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListPullRequestCommentsResponse
impl ListPullRequestCommentsResponse
pub fn new() -> Self
Sourcepub fn set_pull_request_comments<T, V>(self, v: T) -> Self
pub fn set_pull_request_comments<T, V>(self, v: T) -> Self
Sets the value of pull_request_comments.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListPullRequestCommentsResponse
impl Clone for ListPullRequestCommentsResponse
Source§fn clone(&self) -> ListPullRequestCommentsResponse
fn clone(&self) -> ListPullRequestCommentsResponse
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 ListPullRequestCommentsResponse
impl Default for ListPullRequestCommentsResponse
Source§fn default() -> ListPullRequestCommentsResponse
fn default() -> ListPullRequestCommentsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListPullRequestCommentsResponse
impl PartialEq for ListPullRequestCommentsResponse
Source§fn eq(&self, other: &ListPullRequestCommentsResponse) -> bool
fn eq(&self, other: &ListPullRequestCommentsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListPullRequestCommentsResponse
Auto Trait Implementations§
impl Freeze for ListPullRequestCommentsResponse
impl RefUnwindSafe for ListPullRequestCommentsResponse
impl Send for ListPullRequestCommentsResponse
impl Sync for ListPullRequestCommentsResponse
impl Unpin for ListPullRequestCommentsResponse
impl UnwindSafe for ListPullRequestCommentsResponse
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