#[non_exhaustive]pub struct ListConsumerGroupsResponse {
pub consumer_groups: Vec<ConsumerGroup>,
pub next_page_token: String,
/* private fields */
}Expand description
Response for ListConsumerGroups.
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.consumer_groups: Vec<ConsumerGroup>The list of consumer group in the requested parent. The order of the consumer groups is unspecified.
next_page_token: StringA token that can be sent as page_token to retrieve the next page of
results. If this field is omitted, there are no more results.
Implementations§
Source§impl ListConsumerGroupsResponse
impl ListConsumerGroupsResponse
pub fn new() -> Self
Sourcepub fn set_consumer_groups<T, V>(self, v: T) -> Self
pub fn set_consumer_groups<T, V>(self, v: T) -> Self
Sets the value of consumer_groups.
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 ListConsumerGroupsResponse
impl Clone for ListConsumerGroupsResponse
Source§fn clone(&self) -> ListConsumerGroupsResponse
fn clone(&self) -> ListConsumerGroupsResponse
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 ListConsumerGroupsResponse
impl Debug for ListConsumerGroupsResponse
Source§impl Default for ListConsumerGroupsResponse
impl Default for ListConsumerGroupsResponse
Source§fn default() -> ListConsumerGroupsResponse
fn default() -> ListConsumerGroupsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListConsumerGroupsResponse
impl Message for ListConsumerGroupsResponse
impl StructuralPartialEq for ListConsumerGroupsResponse
Auto Trait Implementations§
impl Freeze for ListConsumerGroupsResponse
impl RefUnwindSafe for ListConsumerGroupsResponse
impl Send for ListConsumerGroupsResponse
impl Sync for ListConsumerGroupsResponse
impl Unpin for ListConsumerGroupsResponse
impl UnwindSafe for ListConsumerGroupsResponse
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