pub struct G711ULAWAudioFormat {
pub sample_rate: u32,
pub channels: u32,
}Available on crate feature
realtime only.Fields§
§sample_rate: u32§channels: u32Trait Implementations§
Source§impl Clone for G711ULAWAudioFormat
impl Clone for G711ULAWAudioFormat
Source§fn clone(&self) -> G711ULAWAudioFormat
fn clone(&self) -> G711ULAWAudioFormat
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 G711ULAWAudioFormat
impl Debug for G711ULAWAudioFormat
Source§impl Default for G711ULAWAudioFormat
impl Default for G711ULAWAudioFormat
Source§fn default() -> G711ULAWAudioFormat
fn default() -> G711ULAWAudioFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for G711ULAWAudioFormat
impl<'de> Deserialize<'de> for G711ULAWAudioFormat
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
Auto Trait Implementations§
impl Freeze for G711ULAWAudioFormat
impl RefUnwindSafe for G711ULAWAudioFormat
impl Send for G711ULAWAudioFormat
impl Sync for G711ULAWAudioFormat
impl Unpin for G711ULAWAudioFormat
impl UnwindSafe for G711ULAWAudioFormat
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