#[non_exhaustive]pub struct ListGoogleApiSourcesResponse {
pub google_api_sources: Vec<GoogleApiSource>,
pub next_page_token: String,
pub unreachable: Vec<String>,
/* private fields */
}Expand description
The response message for the ListGoogleApiSources 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.google_api_sources: Vec<GoogleApiSource>The requested GoogleApiSources, up to the number specified in page_size.
next_page_token: StringA page token that can be sent to ListMessageBusEnrollments to request the
next page. If this is empty, then there are no more pages.
unreachable: Vec<String>Unreachable resources, if any.
Implementations§
Source§impl ListGoogleApiSourcesResponse
impl ListGoogleApiSourcesResponse
pub fn new() -> Self
Sourcepub fn set_google_api_sources<T, V>(self, v: T) -> Self
pub fn set_google_api_sources<T, V>(self, v: T) -> Self
Sets the value of google_api_sources.
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<T, V>(self, v: T) -> Self
pub fn set_unreachable<T, V>(self, v: T) -> Self
Sets the value of unreachable.
Trait Implementations§
Source§impl Clone for ListGoogleApiSourcesResponse
impl Clone for ListGoogleApiSourcesResponse
Source§fn clone(&self) -> ListGoogleApiSourcesResponse
fn clone(&self) -> ListGoogleApiSourcesResponse
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 ListGoogleApiSourcesResponse
impl Debug for ListGoogleApiSourcesResponse
Source§impl Default for ListGoogleApiSourcesResponse
impl Default for ListGoogleApiSourcesResponse
Source§fn default() -> ListGoogleApiSourcesResponse
fn default() -> ListGoogleApiSourcesResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListGoogleApiSourcesResponse
impl PartialEq for ListGoogleApiSourcesResponse
Source§fn eq(&self, other: &ListGoogleApiSourcesResponse) -> bool
fn eq(&self, other: &ListGoogleApiSourcesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListGoogleApiSourcesResponse
Auto Trait Implementations§
impl Freeze for ListGoogleApiSourcesResponse
impl RefUnwindSafe for ListGoogleApiSourcesResponse
impl Send for ListGoogleApiSourcesResponse
impl Sync for ListGoogleApiSourcesResponse
impl Unpin for ListGoogleApiSourcesResponse
impl UnwindSafe for ListGoogleApiSourcesResponse
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