pub struct MessageMeta {
pub name: &'static str,
pub api_key: i16,
pub version: Version,
pub message_kind: MessageKind,
pub fields: &'static [(&'static str, &'static FieldMeta)],
}Expand description
Kafka API message metadata.
Fields§
§name: &'static strThe name of the Kafka API message.
api_key: i16The API key used by this message.
version: VersionThe version ranges for this message.
message_kind: MessageKindThe message kind of this message.
fields: &'static [(&'static str, &'static FieldMeta)]The fields that this message describes.
Implementations§
Trait Implementations§
Source§impl Clone for MessageMeta
impl Clone for MessageMeta
Source§fn clone(&self) -> MessageMeta
fn clone(&self) -> MessageMeta
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageMeta
impl Debug for MessageMeta
Source§impl Default for MessageMeta
impl Default for MessageMeta
Source§fn default() -> MessageMeta
fn default() -> MessageMeta
Returns the “default value” for a type. Read more
Source§impl Hash for MessageMeta
impl Hash for MessageMeta
Source§impl Ord for MessageMeta
impl Ord for MessageMeta
Source§impl PartialEq for MessageMeta
impl PartialEq for MessageMeta
Source§impl PartialOrd for MessageMeta
impl PartialOrd for MessageMeta
impl Copy for MessageMeta
impl Eq for MessageMeta
impl StructuralPartialEq for MessageMeta
Auto Trait Implementations§
impl Freeze for MessageMeta
impl RefUnwindSafe for MessageMeta
impl Send for MessageMeta
impl Sync for MessageMeta
impl Unpin for MessageMeta
impl UnwindSafe for MessageMeta
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)