#[non_exhaustive]pub struct ListGlossariesResponse {
pub glossaries: Vec<Glossary>,
pub next_page_token: String,
pub unreachable_locations: Vec<String>,
/* private fields */
}Expand description
List Glossaries 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.glossaries: Vec<Glossary>Lists the Glossaries in the specified parent.
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.
unreachable_locations: Vec<String>Locations that the service couldn’t reach.
Implementations§
Source§impl ListGlossariesResponse
impl ListGlossariesResponse
pub fn new() -> Self
Sourcepub fn set_glossaries<T, V>(self, v: T) -> Self
pub fn set_glossaries<T, V>(self, v: T) -> Self
Sets the value of glossaries.
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 ListGlossariesResponse
impl Clone for ListGlossariesResponse
Source§fn clone(&self) -> ListGlossariesResponse
fn clone(&self) -> ListGlossariesResponse
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 ListGlossariesResponse
impl Debug for ListGlossariesResponse
Source§impl Default for ListGlossariesResponse
impl Default for ListGlossariesResponse
Source§fn default() -> ListGlossariesResponse
fn default() -> ListGlossariesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListGlossariesResponse
impl Message for ListGlossariesResponse
Source§impl PartialEq for ListGlossariesResponse
impl PartialEq for ListGlossariesResponse
impl StructuralPartialEq for ListGlossariesResponse
Auto Trait Implementations§
impl Freeze for ListGlossariesResponse
impl RefUnwindSafe for ListGlossariesResponse
impl Send for ListGlossariesResponse
impl Sync for ListGlossariesResponse
impl Unpin for ListGlossariesResponse
impl UnwindSafe for ListGlossariesResponse
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