pub struct DescribeClientQuotasResult { /* private fields */ }Expand description
The result of the Admin::describe_client_quotas call.
Implementations§
Source§impl DescribeClientQuotasResult
impl DescribeClientQuotasResult
Sourcepub fn new(
entities: KafkaFuture<HashMap<ClientQuotaEntity, HashMap<String, f64>>>,
) -> Self
pub fn new( entities: KafkaFuture<HashMap<ClientQuotaEntity, HashMap<String, f64>>>, ) -> Self
Maps an entity to its configured quota value(s). Note if no value is defined for a quota type for that entity’s config, then it is not included in the resulting value map.
§Arguments
entities- future for the collection of entities that matched the filter
Sourcepub fn entities(
&self,
) -> &KafkaFuture<HashMap<ClientQuotaEntity, HashMap<String, f64>>>
pub fn entities( &self, ) -> &KafkaFuture<HashMap<ClientQuotaEntity, HashMap<String, f64>>>
Returns a map from quota entity to a future which can be used to check the status of the operation.
Trait Implementations§
Source§impl Clone for DescribeClientQuotasResult
impl Clone for DescribeClientQuotasResult
Source§fn clone(&self) -> DescribeClientQuotasResult
fn clone(&self) -> DescribeClientQuotasResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DescribeClientQuotasResult
impl !RefUnwindSafe for DescribeClientQuotasResult
impl Send for DescribeClientQuotasResult
impl Sync for DescribeClientQuotasResult
impl Unpin for DescribeClientQuotasResult
impl UnsafeUnpin for DescribeClientQuotasResult
impl !UnwindSafe for DescribeClientQuotasResult
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