pub struct MetadataResponseTopic<'a> {
pub error_code: i16,
pub name: Option<&'a str>,
pub topic_id: Uuid,
pub is_internal: bool,
pub partitions: Vec<MetadataResponsePartition>,
pub topic_authorized_operations: i32,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§error_code: i16§name: Option<&'a str>§topic_id: Uuid§is_internal: bool§partitions: Vec<MetadataResponsePartition>§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl MetadataResponseTopic<'_>
impl MetadataResponseTopic<'_>
pub fn to_owned(&self) -> MetadataResponseTopic
Trait Implementations§
Source§impl<'a> Clone for MetadataResponseTopic<'a>
impl<'a> Clone for MetadataResponseTopic<'a>
Source§fn clone(&self) -> MetadataResponseTopic<'a>
fn clone(&self) -> MetadataResponseTopic<'a>
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<'a> Debug for MetadataResponseTopic<'a>
impl<'a> Debug for MetadataResponseTopic<'a>
Source§impl<'de> DecodeBorrow<'de> for MetadataResponseTopic<'de>
impl<'de> DecodeBorrow<'de> for MetadataResponseTopic<'de>
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§impl Default for MetadataResponseTopic<'_>
impl Default for MetadataResponseTopic<'_>
Source§impl Encode for MetadataResponseTopic<'_>
impl Encode for MetadataResponseTopic<'_>
impl<'a> Eq for MetadataResponseTopic<'a>
Source§impl<'a> PartialEq for MetadataResponseTopic<'a>
impl<'a> PartialEq for MetadataResponseTopic<'a>
Source§fn eq(&self, other: &MetadataResponseTopic<'a>) -> bool
fn eq(&self, other: &MetadataResponseTopic<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for MetadataResponseTopic<'a>
Auto Trait Implementations§
impl<'a> Freeze for MetadataResponseTopic<'a>
impl<'a> RefUnwindSafe for MetadataResponseTopic<'a>
impl<'a> Send for MetadataResponseTopic<'a>
impl<'a> Sync for MetadataResponseTopic<'a>
impl<'a> Unpin for MetadataResponseTopic<'a>
impl<'a> UnsafeUnpin for MetadataResponseTopic<'a>
impl<'a> UnwindSafe for MetadataResponseTopic<'a>
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