pub struct AudioResponseFormatBuilder(/* private fields */);Expand description
Builder for AudioResponseFormat.
Implementations§
Source§impl AudioResponseFormatBuilder
impl AudioResponseFormatBuilder
pub fn mime_type(self, value: impl Into<AudioMimeType>) -> Self
pub fn delivery(self, value: impl Into<Delivery>) -> Self
pub fn sample_rate(self, value: impl Into<i64>) -> Self
pub fn bit_rate(self, value: impl Into<i64>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> AudioResponseFormat
pub fn build(self) -> AudioResponseFormat
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for AudioResponseFormatBuilder
impl RefUnwindSafe for AudioResponseFormatBuilder
impl Send for AudioResponseFormatBuilder
impl Sync for AudioResponseFormatBuilder
impl Unpin for AudioResponseFormatBuilder
impl UnsafeUnpin for AudioResponseFormatBuilder
impl UnwindSafe for AudioResponseFormatBuilder
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