pub struct SetRecordingParams {
pub recording: Option<String>,
pub file: Option<String>,
pub name: Option<String>,
}Expand description
- Updates a specific Recording File if a Recording ID is provided. - Adds a new Recording file entry if no Recording ID is provided.
Parameters for Client::set_recording (wire method setRecording).
Fields§
§recording: Option<String>ID for a specific Phonebook entry (Example: 33221 / Leave empty to create a new one)
file: Option<String>Base64 encoded file (Provide Recording ID and file if you want update the file only) (required)
name: Option<String>Name for the Recording Entry (Example: ‘recording1’) (Provide Recording ID and name if you want update the name only) (Provide Recording ID, file and name if you want update both parameters at the same time) (required)
Trait Implementations§
Source§impl Clone for SetRecordingParams
impl Clone for SetRecordingParams
Source§fn clone(&self) -> SetRecordingParams
fn clone(&self) -> SetRecordingParams
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 SetRecordingParams
impl Debug for SetRecordingParams
Source§impl Default for SetRecordingParams
impl Default for SetRecordingParams
Source§fn default() -> SetRecordingParams
fn default() -> SetRecordingParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetRecordingParams
impl RefUnwindSafe for SetRecordingParams
impl Send for SetRecordingParams
impl Sync for SetRecordingParams
impl Unpin for SetRecordingParams
impl UnsafeUnpin for SetRecordingParams
impl UnwindSafe for SetRecordingParams
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