pub struct ThroughputCap {
pub value: Option<i32>,
pub time_unit: Option<TimeUnit>,
}Expand description
ThroughputCap : The throughput capacity
Fields§
§value: Option<i32>An unsigned integer that can be only positive or zero.
time_unit: Option<TimeUnit>Implementations§
Source§impl ThroughputCap
impl ThroughputCap
Sourcepub fn new() -> ThroughputCap
pub fn new() -> ThroughputCap
The throughput capacity
Trait Implementations§
Source§impl Clone for ThroughputCap
impl Clone for ThroughputCap
Source§fn clone(&self) -> ThroughputCap
fn clone(&self) -> ThroughputCap
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 ThroughputCap
impl Debug for ThroughputCap
Source§impl Default for ThroughputCap
impl Default for ThroughputCap
Source§fn default() -> ThroughputCap
fn default() -> ThroughputCap
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThroughputCap
impl<'de> Deserialize<'de> for ThroughputCap
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 ThroughputCap
impl PartialEq for ThroughputCap
Source§impl Serialize for ThroughputCap
impl Serialize for ThroughputCap
impl StructuralPartialEq for ThroughputCap
Auto Trait Implementations§
impl Freeze for ThroughputCap
impl RefUnwindSafe for ThroughputCap
impl Send for ThroughputCap
impl Sync for ThroughputCap
impl Unpin for ThroughputCap
impl UnsafeUnpin for ThroughputCap
impl UnwindSafe for ThroughputCap
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