#[non_exhaustive]pub struct ListLakesResponse {
pub lakes: Vec<Lake>,
pub next_page_token: String,
pub unreachable_locations: Vec<String>,
/* private fields */
}Expand description
List lakes response.
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.lakes: Vec<Lake>Lakes under the given parent location.
next_page_token: StringToken to retrieve the next page of results, or empty if there are no more results in the list.
unreachable_locations: Vec<String>Locations that could not be reached.
Implementations§
Source§impl ListLakesResponse
impl ListLakesResponse
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.
Sourcepub fn set_unreachable_locations<T, V>(self, v: T) -> Self
pub fn set_unreachable_locations<T, V>(self, v: T) -> Self
Sets the value of unreachable_locations.
Trait Implementations§
Source§impl Clone for ListLakesResponse
impl Clone for ListLakesResponse
Source§fn clone(&self) -> ListLakesResponse
fn clone(&self) -> ListLakesResponse
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 ListLakesResponse
impl Debug for ListLakesResponse
Source§impl Default for ListLakesResponse
impl Default for ListLakesResponse
Source§fn default() -> ListLakesResponse
fn default() -> ListLakesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListLakesResponse
impl Message for ListLakesResponse
Source§impl PartialEq for ListLakesResponse
impl PartialEq for ListLakesResponse
impl StructuralPartialEq for ListLakesResponse
Auto Trait Implementations§
impl Freeze for ListLakesResponse
impl RefUnwindSafe for ListLakesResponse
impl Send for ListLakesResponse
impl Sync for ListLakesResponse
impl Unpin for ListLakesResponse
impl UnwindSafe for ListLakesResponse
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