#[non_exhaustive]pub struct ListCatalogsResponse {
pub catalogs: Vec<Catalog>,
pub next_page_token: String,
/* private fields */
}Expand description
Response for CatalogService.ListCatalogs method.
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.catalogs: Vec<Catalog>All the customer’s Catalogs.
next_page_token: StringA token that can be sent as ListCatalogsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListCatalogsResponse
impl ListCatalogsResponse
Sourcepub fn set_catalogs<T, V>(self, v: T) -> Self
pub fn set_catalogs<T, V>(self, v: T) -> 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.
§Example
ⓘ
let x = ListCatalogsResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListCatalogsResponse
impl Clone for ListCatalogsResponse
Source§fn clone(&self) -> ListCatalogsResponse
fn clone(&self) -> ListCatalogsResponse
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 ListCatalogsResponse
impl Debug for ListCatalogsResponse
Source§impl Default for ListCatalogsResponse
impl Default for ListCatalogsResponse
Source§fn default() -> ListCatalogsResponse
fn default() -> ListCatalogsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListCatalogsResponse
impl Message for ListCatalogsResponse
Source§impl PartialEq for ListCatalogsResponse
impl PartialEq for ListCatalogsResponse
impl StructuralPartialEq for ListCatalogsResponse
Auto Trait Implementations§
impl Freeze for ListCatalogsResponse
impl RefUnwindSafe for ListCatalogsResponse
impl Send for ListCatalogsResponse
impl Sync for ListCatalogsResponse
impl Unpin for ListCatalogsResponse
impl UnsafeUnpin for ListCatalogsResponse
impl UnwindSafe for ListCatalogsResponse
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