pub struct SupportedFeature {
pub name: String,
pub min_version: i16,
pub max_version: i16,
}Expand description
A feature version range advertised by one broker in ApiVersions v3+.
Fields§
§name: StringFeature name defined by Kafka’s feature registry.
min_version: i16Minimum version level supported by the broker.
max_version: i16Maximum version level supported by the broker.
Trait Implementations§
Source§impl Clone for SupportedFeature
impl Clone for SupportedFeature
Source§fn clone(&self) -> SupportedFeature
fn clone(&self) -> SupportedFeature
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 SupportedFeature
impl Debug for SupportedFeature
impl Eq for SupportedFeature
Source§impl PartialEq for SupportedFeature
impl PartialEq for SupportedFeature
impl StructuralPartialEq for SupportedFeature
Auto Trait Implementations§
impl Freeze for SupportedFeature
impl RefUnwindSafe for SupportedFeature
impl Send for SupportedFeature
impl Sync for SupportedFeature
impl Unpin for SupportedFeature
impl UnsafeUnpin for SupportedFeature
impl UnwindSafe for SupportedFeature
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