#[non_exhaustive]pub struct ListReferenceListsResponse {
pub reference_lists: Vec<ReferenceList>,
pub next_page_token: String,
/* private fields */
}Expand description
A response to a request for a list of reference lists.
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.reference_lists: Vec<ReferenceList>The reference lists. Ordered in ascending alphabetical order by name.
next_page_token: StringA token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListReferenceListsResponse
impl ListReferenceListsResponse
Sourcepub fn set_reference_lists<T, V>(self, v: T) -> Self
pub fn set_reference_lists<T, V>(self, v: T) -> Self
Sets the value of reference_lists.
§Example
ⓘ
use google_cloud_chronicle_v1::model::ReferenceList;
let x = ListReferenceListsResponse::new()
.set_reference_lists([
ReferenceList::default()/* use setters */,
ReferenceList::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 = ListReferenceListsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListReferenceListsResponse
impl Clone for ListReferenceListsResponse
Source§fn clone(&self) -> ListReferenceListsResponse
fn clone(&self) -> ListReferenceListsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListReferenceListsResponse
impl Debug for ListReferenceListsResponse
Source§impl Default for ListReferenceListsResponse
impl Default for ListReferenceListsResponse
Source§fn default() -> ListReferenceListsResponse
fn default() -> ListReferenceListsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListReferenceListsResponse
impl Message for ListReferenceListsResponse
Source§impl PartialEq for ListReferenceListsResponse
impl PartialEq for ListReferenceListsResponse
Source§fn eq(&self, other: &ListReferenceListsResponse) -> bool
fn eq(&self, other: &ListReferenceListsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListReferenceListsResponse
Auto Trait Implementations§
impl Freeze for ListReferenceListsResponse
impl RefUnwindSafe for ListReferenceListsResponse
impl Send for ListReferenceListsResponse
impl Sync for ListReferenceListsResponse
impl Unpin for ListReferenceListsResponse
impl UnsafeUnpin for ListReferenceListsResponse
impl UnwindSafe for ListReferenceListsResponse
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