Struct wmproxy::ConfigRate
source · pub struct ConfigRate(pub Rate);
Expand description
速率相关配置
Tuple Fields§
§0: Rate
Implementations§
Trait Implementations§
source§impl Clone for ConfigRate
impl Clone for ConfigRate
source§fn clone(&self) -> ConfigRate
fn clone(&self) -> ConfigRate
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 ConfigRate
impl Debug for ConfigRate
source§impl Display for ConfigRate
impl Display for ConfigRate
source§impl From<ConfigRate> for Rate
impl From<ConfigRate> for Rate
source§fn from(value: ConfigRate) -> Rate
fn from(value: ConfigRate) -> Rate
Converts to this type from the input type.
source§impl From<Rate> for ConfigRate
impl From<Rate> for ConfigRate
source§impl FromStr for ConfigRate
impl FromStr for ConfigRate
source§impl PartialEq for ConfigRate
impl PartialEq for ConfigRate
source§fn eq(&self, other: &ConfigRate) -> bool
fn eq(&self, other: &ConfigRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConfigRate
impl StructuralPartialEq for ConfigRate
Auto Trait Implementations§
impl RefUnwindSafe for ConfigRate
impl Send for ConfigRate
impl Sync for ConfigRate
impl Unpin for ConfigRate
impl UnwindSafe for ConfigRate
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.