pub struct SendAudioParams {
pub to: String,
pub url: String,
pub ptt: Option<bool>,
}Fields§
§to: String§url: String§ptt: Option<bool>Send as voice note. Default: false.
Trait Implementations§
Source§impl Clone for SendAudioParams
impl Clone for SendAudioParams
Source§fn clone(&self) -> SendAudioParams
fn clone(&self) -> SendAudioParams
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 SendAudioParams
impl Debug for SendAudioParams
Source§impl Default for SendAudioParams
impl Default for SendAudioParams
Source§fn default() -> SendAudioParams
fn default() -> SendAudioParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SendAudioParams
impl RefUnwindSafe for SendAudioParams
impl Send for SendAudioParams
impl Sync for SendAudioParams
impl Unpin for SendAudioParams
impl UnsafeUnpin for SendAudioParams
impl UnwindSafe for SendAudioParams
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