#[non_exhaustive]pub struct ListIssueCommentsResponse {
pub issue_comments: Vec<IssueComment>,
pub next_page_token: String,
/* private fields */
}Expand description
The response to list issue 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.issue_comments: Vec<IssueComment>The list of issue comments.
next_page_token: StringA token identifying a page of results the server should return.
Implementations§
Source§impl ListIssueCommentsResponse
impl ListIssueCommentsResponse
pub fn new() -> Self
Sourcepub fn set_issue_comments<T, V>(self, v: T) -> Self
pub fn set_issue_comments<T, V>(self, v: T) -> Self
Sets the value of issue_comments.
§Example
ⓘ
use google_cloud_securesourcemanager_v1::model::IssueComment;
let x = ListIssueCommentsResponse::new()
.set_issue_comments([
IssueComment::default()/* use setters */,
IssueComment::default()/* use (different) setters */,
]);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.
§Example
ⓘ
let x = ListIssueCommentsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListIssueCommentsResponse
impl Clone for ListIssueCommentsResponse
Source§fn clone(&self) -> ListIssueCommentsResponse
fn clone(&self) -> ListIssueCommentsResponse
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 ListIssueCommentsResponse
impl Debug for ListIssueCommentsResponse
Source§impl Default for ListIssueCommentsResponse
impl Default for ListIssueCommentsResponse
Source§fn default() -> ListIssueCommentsResponse
fn default() -> ListIssueCommentsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListIssueCommentsResponse
impl Message for ListIssueCommentsResponse
impl StructuralPartialEq for ListIssueCommentsResponse
Auto Trait Implementations§
impl Freeze for ListIssueCommentsResponse
impl RefUnwindSafe for ListIssueCommentsResponse
impl Send for ListIssueCommentsResponse
impl Sync for ListIssueCommentsResponse
impl Unpin for ListIssueCommentsResponse
impl UnwindSafe for ListIssueCommentsResponse
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