pub struct GetConsumerGroups {
pub stream_id: Identifier,
pub topic_id: Identifier,
}Expand description
GetConsumerGroups command retrieves the consumer groups from the topic.
It has additional payload:
stream_id- unique stream ID (numeric or name).topic_id- unique topic ID (numeric or name).
Fields§
§stream_id: IdentifierUnique stream ID (numeric or name).
topic_id: IdentifierUnique topic ID (numeric or name).
Trait Implementations§
Source§impl BytesSerializable for GetConsumerGroups
impl BytesSerializable for GetConsumerGroups
Source§fn from_bytes(bytes: Bytes) -> Result<GetConsumerGroups, IggyError>
fn from_bytes(bytes: Bytes) -> Result<GetConsumerGroups, IggyError>
Deserializes the struct from bytes.
Source§fn write_to_buffer(&self, _buf: &mut BytesMut)
fn write_to_buffer(&self, _buf: &mut BytesMut)
Write the struct to a buffer.
Source§fn get_buffer_size(&self) -> usize
fn get_buffer_size(&self) -> usize
Get the byte-size of the struct.
Source§impl Debug for GetConsumerGroups
impl Debug for GetConsumerGroups
Source§impl Default for GetConsumerGroups
impl Default for GetConsumerGroups
Source§fn default() -> GetConsumerGroups
fn default() -> GetConsumerGroups
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetConsumerGroups
impl<'de> Deserialize<'de> for GetConsumerGroups
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GetConsumerGroups
impl Display for GetConsumerGroups
Source§impl PartialEq for GetConsumerGroups
impl PartialEq for GetConsumerGroups
Source§impl Serialize for GetConsumerGroups
impl Serialize for GetConsumerGroups
Source§impl Validatable<IggyError> for GetConsumerGroups
impl Validatable<IggyError> for GetConsumerGroups
impl StructuralPartialEq for GetConsumerGroups
Auto Trait Implementations§
impl Freeze for GetConsumerGroups
impl RefUnwindSafe for GetConsumerGroups
impl Send for GetConsumerGroups
impl Sync for GetConsumerGroups
impl Unpin for GetConsumerGroups
impl UnsafeUnpin for GetConsumerGroups
impl UnwindSafe for GetConsumerGroups
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more