pub enum BacklogQuotaType {
DestinationStorage,
MessageAge,
}Expand description
Java BacklogQuotaType — selects which dimension a BacklogQuota
entry limits.
Variants§
DestinationStorage
Bytes-on-disk dimension. Uses BacklogQuota::limit_size.
MessageAge
Message-age dimension. Uses BacklogQuota::limit_time.
Implementations§
Source§impl BacklogQuotaType
impl BacklogQuotaType
Sourcepub fn as_query_value(self) -> &'static str
pub fn as_query_value(self) -> &'static str
Render as the lowercase snake_case value the broker REST surface
expects in the backlogQuotaType query parameter.
Trait Implementations§
Source§impl Clone for BacklogQuotaType
impl Clone for BacklogQuotaType
Source§fn clone(&self) -> BacklogQuotaType
fn clone(&self) -> BacklogQuotaType
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 moreimpl Copy for BacklogQuotaType
Source§impl Debug for BacklogQuotaType
impl Debug for BacklogQuotaType
impl Eq for BacklogQuotaType
Source§impl PartialEq for BacklogQuotaType
impl PartialEq for BacklogQuotaType
Source§fn eq(&self, other: &BacklogQuotaType) -> bool
fn eq(&self, other: &BacklogQuotaType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BacklogQuotaType
Auto Trait Implementations§
impl Freeze for BacklogQuotaType
impl RefUnwindSafe for BacklogQuotaType
impl Send for BacklogQuotaType
impl Sync for BacklogQuotaType
impl Unpin for BacklogQuotaType
impl UnsafeUnpin for BacklogQuotaType
impl UnwindSafe for BacklogQuotaType
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