#[non_exhaustive]pub struct ListViewsResponse {
pub views: Vec<LogView>,
pub next_page_token: String,
/* private fields */
}Expand description
The response from ListViews.
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.views: Vec<LogView>A list of views.
next_page_token: StringIf there might be more results than appear in this response, then
nextPageToken is included. To get the next set of results, call the same
method again using the value of nextPageToken as pageToken.
Implementations§
Source§impl ListViewsResponse
impl ListViewsResponse
pub fn new() -> Self
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 ListViewsResponse
impl Clone for ListViewsResponse
Source§fn clone(&self) -> ListViewsResponse
fn clone(&self) -> ListViewsResponse
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 ListViewsResponse
impl Debug for ListViewsResponse
Source§impl Default for ListViewsResponse
impl Default for ListViewsResponse
Source§fn default() -> ListViewsResponse
fn default() -> ListViewsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListViewsResponse
impl Message for ListViewsResponse
Source§impl PartialEq for ListViewsResponse
impl PartialEq for ListViewsResponse
impl StructuralPartialEq for ListViewsResponse
Auto Trait Implementations§
impl Freeze for ListViewsResponse
impl RefUnwindSafe for ListViewsResponse
impl Send for ListViewsResponse
impl Sync for ListViewsResponse
impl Unpin for ListViewsResponse
impl UnwindSafe for ListViewsResponse
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