pub struct ClientQuotaFilterComponent { /* private fields */ }Expand description
One component in a client quota describe filter.
Implementations§
Source§impl ClientQuotaFilterComponent
impl ClientQuotaFilterComponent
Sourcepub fn new(
entity_type: impl Into<String>,
match_type: ClientQuotaMatchType,
match_value: Option<impl Into<String>>,
) -> Self
pub fn new( entity_type: impl Into<String>, match_type: ClientQuotaMatchType, match_value: Option<impl Into<String>>, ) -> Self
Creates a quota filter component.
Sourcepub fn entity_type(&self) -> &str
pub fn entity_type(&self) -> &str
Returns the Kafka entity type.
Sourcepub fn match_type(&self) -> ClientQuotaMatchType
pub fn match_type(&self) -> ClientQuotaMatchType
Returns the matching mode.
Sourcepub fn match_value(&self) -> Option<&str>
pub fn match_value(&self) -> Option<&str>
Returns the optional exact or named match value.
Trait Implementations§
Source§impl Clone for ClientQuotaFilterComponent
impl Clone for ClientQuotaFilterComponent
Source§fn clone(&self) -> ClientQuotaFilterComponent
fn clone(&self) -> ClientQuotaFilterComponent
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 ClientQuotaFilterComponent
impl Debug for ClientQuotaFilterComponent
impl Eq for ClientQuotaFilterComponent
impl StructuralPartialEq for ClientQuotaFilterComponent
Auto Trait Implementations§
impl Freeze for ClientQuotaFilterComponent
impl RefUnwindSafe for ClientQuotaFilterComponent
impl Send for ClientQuotaFilterComponent
impl Sync for ClientQuotaFilterComponent
impl Unpin for ClientQuotaFilterComponent
impl UnsafeUnpin for ClientQuotaFilterComponent
impl UnwindSafe for ClientQuotaFilterComponent
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