Struct pulsar_admin_sdk::models::dispatch_rate::DispatchRate
source · pub struct DispatchRate {
pub dispatch_throttling_rate_in_byte: Option<i64>,
pub dispatch_throttling_rate_in_msg: Option<i32>,
pub rate_period_in_second: Option<i32>,
pub relative_to_publish_rate: Option<bool>,
}Fields§
§dispatch_throttling_rate_in_byte: Option<i64>§dispatch_throttling_rate_in_msg: Option<i32>§rate_period_in_second: Option<i32>§relative_to_publish_rate: Option<bool>Implementations§
source§impl DispatchRate
impl DispatchRate
pub fn new() -> DispatchRate
Trait Implementations§
source§impl Clone for DispatchRate
impl Clone for DispatchRate
source§fn clone(&self) -> DispatchRate
fn clone(&self) -> DispatchRate
Returns a copy 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 DispatchRate
impl Debug for DispatchRate
source§impl Default for DispatchRate
impl Default for DispatchRate
source§fn default() -> DispatchRate
fn default() -> DispatchRate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DispatchRate
impl<'de> Deserialize<'de> for DispatchRate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for DispatchRate
impl PartialEq for DispatchRate
source§fn eq(&self, other: &DispatchRate) -> bool
fn eq(&self, other: &DispatchRate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DispatchRate
impl Serialize for DispatchRate
impl StructuralPartialEq for DispatchRate
Auto Trait Implementations§
impl RefUnwindSafe for DispatchRate
impl Send for DispatchRate
impl Sync for DispatchRate
impl Unpin for DispatchRate
impl UnwindSafe for DispatchRate
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