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§fn clone(&self) -> MetadataRequest
fn clone(&self) -> MetadataRequest
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 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§fn eq(&self, other: &MetadataRequest) -> bool
fn eq(&self, other: &MetadataRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.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 supports.
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible (KIP-482) framing.
i16::MAX for never-flexible messages.Source§type Response = MetadataResponse
type Response = MetadataResponse
Matching response type from
crabka-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