Struct kafka_api::metadata_request::MetadataRequest
source · pub struct MetadataRequest {
pub topics: Vec<MetadataRequestTopic>,
pub allow_auto_topic_creation: bool,
pub include_cluster_authorized_operations: bool,
pub include_topic_authorized_operations: bool,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§topics: Vec<MetadataRequestTopic>
The topics to fetch metadata for.
allow_auto_topic_creation: bool
If this is true, the broker may auto-create topics that we requested which do not already exist, if it is configured to do so.
Whether to include cluster authorized operations.
Whether to include topic authorized operations.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
source§impl Clone for MetadataRequest
impl Clone for MetadataRequest
source§fn clone(&self) -> MetadataRequest
fn clone(&self) -> MetadataRequest
Returns a copy 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 MetadataRequest
impl Debug for MetadataRequest
source§impl Decodable for MetadataRequest
impl Decodable for MetadataRequest
source§impl Default for MetadataRequest
impl Default for MetadataRequest
source§fn default() -> MetadataRequest
fn default() -> MetadataRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MetadataRequest
impl Send for MetadataRequest
impl Sync for MetadataRequest
impl Unpin 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