pub struct LimitUpdate {
pub direction: Option<DataDirection>,
pub sustained_packets_per_second: Option<Int64>,
pub burst_packets_per_second: Option<Int64>,
pub sustained_bytes_per_second: Option<Int64>,
pub burst_bytes_per_second: Option<Int64>,
}Expand description
Update struct corresponding to Limit
Fields§
§direction: Option<DataDirection>§sustained_packets_per_second: Option<Int64>§burst_packets_per_second: Option<Int64>§sustained_bytes_per_second: Option<Int64>§burst_bytes_per_second: Option<Int64>Implementations§
Source§impl LimitUpdate
impl LimitUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_direction(self, v: DataDirection) -> Self
pub fn with_sustained_packets_per_second(self, v: Int64) -> Self
pub fn with_burst_packets_per_second(self, v: Int64) -> Self
pub fn with_sustained_bytes_per_second(self, v: Int64) -> Self
pub fn with_burst_bytes_per_second(self, v: Int64) -> Self
Trait Implementations§
Source§impl Debug for LimitUpdate
impl Debug for LimitUpdate
Source§impl Default for LimitUpdate
impl Default for LimitUpdate
Source§fn default() -> LimitUpdate
fn default() -> LimitUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LimitUpdate
impl RefUnwindSafe for LimitUpdate
impl Send for LimitUpdate
impl Sync for LimitUpdate
impl Unpin for LimitUpdate
impl UnsafeUnpin for LimitUpdate
impl UnwindSafe for LimitUpdate
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