pub struct GetAllowedCodecsParams {
pub codec: Option<String>,
}Expand description
- Retrieves a list of Allowed Codecs if no additional parameter is provided. - Retrieves a specific Allowed Codec if a codec code is provided.
Parameters for Client::get_allowed_codecs (wire method getAllowedCodecs).
Fields§
§codec: Option<String>Code for a specific Codec (Example: ‘ulaw’)
Trait Implementations§
Source§impl Clone for GetAllowedCodecsParams
impl Clone for GetAllowedCodecsParams
Source§fn clone(&self) -> GetAllowedCodecsParams
fn clone(&self) -> GetAllowedCodecsParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetAllowedCodecsParams
impl Debug for GetAllowedCodecsParams
Source§impl Default for GetAllowedCodecsParams
impl Default for GetAllowedCodecsParams
Source§fn default() -> GetAllowedCodecsParams
fn default() -> GetAllowedCodecsParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetAllowedCodecsParams
impl RefUnwindSafe for GetAllowedCodecsParams
impl Send for GetAllowedCodecsParams
impl Sync for GetAllowedCodecsParams
impl Unpin for GetAllowedCodecsParams
impl UnsafeUnpin for GetAllowedCodecsParams
impl UnwindSafe for GetAllowedCodecsParams
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