pub struct MetadataRequest {
pub topics: Option<Vec<MetadataRequestTopic>>,
pub allow_auto_topic_creation: bool,
pub include_cluster_authorized_operations: bool,
pub include_topic_authorized_operations: bool,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§topics: Option<Vec<MetadataRequestTopic>>§allow_auto_topic_creation: bool§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for MetadataRequest
impl Clone for MetadataRequest
Source§impl Debug for MetadataRequest
impl Debug for MetadataRequest
Source§impl Decode<'_> for MetadataRequest
impl Decode<'_> for MetadataRequest
Source§impl Default for MetadataRequest
impl Default for MetadataRequest
Source§impl Encode for MetadataRequest
impl Encode for MetadataRequest
impl Eq for MetadataRequest
Source§impl PartialEq for MetadataRequest
impl PartialEq for MetadataRequest
Source§impl ProtocolRequest for MetadataRequest
impl ProtocolRequest for MetadataRequest
Source§const MIN_VERSION: i16 = MIN_VERSION
const MIN_VERSION: i16 = MIN_VERSION
Minimum protocol version this Rust type supports.
Source§const MAX_VERSION: i16 = MAX_VERSION
const MAX_VERSION: i16 = MAX_VERSION
Maximum protocol version this Rust type can encode and decode. Read more
Source§const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
const LATEST_STABLE_VERSION: i16 = LATEST_STABLE_VERSION
Highest protocol version that a client can send. Read more
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible framing from KIP-482.
This is
i16::MAX for never-flexible messages.Source§type Response = MetadataResponse
type Response = MetadataResponse
Matching response type from
krabka-protocol.impl StructuralPartialEq for MetadataRequest
Auto Trait Implementations§
impl Freeze for MetadataRequest
impl RefUnwindSafe for MetadataRequest
impl Send for MetadataRequest
impl Sync for MetadataRequest
impl Unpin for MetadataRequest
impl UnsafeUnpin for MetadataRequest
impl UnwindSafe for MetadataRequest
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