pub struct ClientQuotaEntity { /* private fields */ }Expand description
Describes a client quota entity, which is a mapping of entity types to their names.
§Translation notes
A None name is Java’s null.
Implementations§
Source§impl ClientQuotaEntity
impl ClientQuotaEntity
Sourcepub fn is_valid_entity_type(entity_type: &str) -> bool
pub fn is_valid_entity_type(entity_type: &str) -> bool
Returns whether the given entity type is one of the built-in types.
§Arguments
entity_type- the entity type to check
Trait Implementations§
Source§impl Clone for ClientQuotaEntity
impl Clone for ClientQuotaEntity
Source§fn clone(&self) -> ClientQuotaEntity
fn clone(&self) -> ClientQuotaEntity
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 moreSource§impl Debug for ClientQuotaEntity
impl Debug for ClientQuotaEntity
Source§impl Display for ClientQuotaEntity
impl Display for ClientQuotaEntity
Source§impl Hash for ClientQuotaEntity
impl Hash for ClientQuotaEntity
Source§impl PartialEq for ClientQuotaEntity
impl PartialEq for ClientQuotaEntity
impl Eq for ClientQuotaEntity
Auto Trait Implementations§
impl Freeze for ClientQuotaEntity
impl RefUnwindSafe for ClientQuotaEntity
impl Send for ClientQuotaEntity
impl Sync for ClientQuotaEntity
impl Unpin for ClientQuotaEntity
impl UnsafeUnpin for ClientQuotaEntity
impl UnwindSafe for ClientQuotaEntity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more