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: Vec<RawTaggedField>,
}
Fields§
§topics: Option<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 Freeze for MetadataRequest
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