Struct tokio_nsq::NSQSampleRate
source · pub struct NSQSampleRate { /* private fields */ }
Expand description
A smart constructor validating an NSQ sample rate
Implementations§
Trait Implementations§
source§impl Clone for NSQSampleRate
impl Clone for NSQSampleRate
source§fn clone(&self) -> NSQSampleRate
fn clone(&self) -> NSQSampleRate
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 NSQSampleRate
impl Debug for NSQSampleRate
impl Copy for NSQSampleRate
Auto Trait Implementations§
impl RefUnwindSafe for NSQSampleRate
impl Send for NSQSampleRate
impl Sync for NSQSampleRate
impl Unpin for NSQSampleRate
impl UnwindSafe for NSQSampleRate
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