pub struct DispatchRateImpl {
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 DispatchRateImpl
impl DispatchRateImpl
pub fn new() -> DispatchRateImpl
Trait Implementations§
source§impl Clone for DispatchRateImpl
impl Clone for DispatchRateImpl
source§fn clone(&self) -> DispatchRateImpl
fn clone(&self) -> DispatchRateImpl
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 DispatchRateImpl
impl Debug for DispatchRateImpl
source§impl Default for DispatchRateImpl
impl Default for DispatchRateImpl
source§fn default() -> DispatchRateImpl
fn default() -> DispatchRateImpl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DispatchRateImpl
impl<'de> Deserialize<'de> for DispatchRateImpl
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 DispatchRateImpl
impl PartialEq for DispatchRateImpl
source§fn eq(&self, other: &DispatchRateImpl) -> bool
fn eq(&self, other: &DispatchRateImpl) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DispatchRateImpl
impl Serialize for DispatchRateImpl
impl StructuralPartialEq for DispatchRateImpl
Auto Trait Implementations§
impl RefUnwindSafe for DispatchRateImpl
impl Send for DispatchRateImpl
impl Sync for DispatchRateImpl
impl Unpin for DispatchRateImpl
impl UnwindSafe for DispatchRateImpl
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