#[non_exhaustive]pub struct ListDataAccessLabelsResponse {
pub data_access_labels: Vec<DataAccessLabel>,
pub next_page_token: String,
/* private fields */
}Expand description
Response message for ListDataAccessLabels.
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.data_access_labels: Vec<DataAccessLabel>List of data access labels.
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 ListDataAccessLabelsResponse
impl ListDataAccessLabelsResponse
Sourcepub fn set_data_access_labels<T, V>(self, v: T) -> Self
pub fn set_data_access_labels<T, V>(self, v: T) -> Self
Sets the value of data_access_labels.
§Example
ⓘ
use google_cloud_chronicle_v1::model::DataAccessLabel;
let x = ListDataAccessLabelsResponse::new()
.set_data_access_labels([
DataAccessLabel::default()/* use setters */,
DataAccessLabel::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 = ListDataAccessLabelsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListDataAccessLabelsResponse
impl Clone for ListDataAccessLabelsResponse
Source§fn clone(&self) -> ListDataAccessLabelsResponse
fn clone(&self) -> ListDataAccessLabelsResponse
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 ListDataAccessLabelsResponse
impl Debug for ListDataAccessLabelsResponse
Source§impl Default for ListDataAccessLabelsResponse
impl Default for ListDataAccessLabelsResponse
Source§fn default() -> ListDataAccessLabelsResponse
fn default() -> ListDataAccessLabelsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListDataAccessLabelsResponse
impl PartialEq for ListDataAccessLabelsResponse
Source§fn eq(&self, other: &ListDataAccessLabelsResponse) -> bool
fn eq(&self, other: &ListDataAccessLabelsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListDataAccessLabelsResponse
Auto Trait Implementations§
impl Freeze for ListDataAccessLabelsResponse
impl RefUnwindSafe for ListDataAccessLabelsResponse
impl Send for ListDataAccessLabelsResponse
impl Sync for ListDataAccessLabelsResponse
impl Unpin for ListDataAccessLabelsResponse
impl UnsafeUnpin for ListDataAccessLabelsResponse
impl UnwindSafe for ListDataAccessLabelsResponse
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