pub struct ListGroupsResponseData {
pub throttle_time_ms: i32,
pub error_code: i16,
pub groups: Vec<ListedGroup>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§throttle_time_ms: i32The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota.
error_code: i16The error code, or 0 if there was no error.
groups: Vec<ListedGroup>Each group in the response.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ListGroupsResponseData
impl ListGroupsResponseData
pub fn with_throttle_time_ms(self, value: i32) -> Self
pub fn with_error_code(self, value: i16) -> Self
pub fn with_groups(self, value: Vec<ListedGroup>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for ListGroupsResponseData
impl Clone for ListGroupsResponseData
Source§fn clone(&self) -> ListGroupsResponseData
fn clone(&self) -> ListGroupsResponseData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListGroupsResponseData
impl Debug for ListGroupsResponseData
Source§impl Default for ListGroupsResponseData
impl Default for ListGroupsResponseData
Source§impl PartialEq for ListGroupsResponseData
impl PartialEq for ListGroupsResponseData
Source§fn eq(&self, other: &ListGroupsResponseData) -> bool
fn eq(&self, other: &ListGroupsResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListGroupsResponseData
Auto Trait Implementations§
impl Freeze for ListGroupsResponseData
impl RefUnwindSafe for ListGroupsResponseData
impl Send for ListGroupsResponseData
impl Sync for ListGroupsResponseData
impl Unpin for ListGroupsResponseData
impl UnsafeUnpin for ListGroupsResponseData
impl UnwindSafe for ListGroupsResponseData
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