pub struct SendAudio<'src> {
pub chat_id: ChatId,
pub audio: Cow<'src, str>,
pub caption: Cow<'src, str>,
pub reply_to_message_id: Option<MessageId>,
/* private fields */
}Expand description
Fields§
§chat_id: ChatId§audio: Cow<'src, str>§caption: Cow<'src, str>§reply_to_message_id: Option<MessageId>Implementations§
Trait Implementations§
Source§impl<'src> IntoFuture for SendAudio<'src>
impl<'src> IntoFuture for SendAudio<'src>
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SendAudio<'src> as IntoFuture>::Output> + Sync + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SendAudio<'src> as IntoFuture>::Output> + Sync + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'src> Freeze for SendAudio<'src>
impl<'src> !RefUnwindSafe for SendAudio<'src>
impl<'src> Send for SendAudio<'src>
impl<'src> Sync for SendAudio<'src>
impl<'src> Unpin for SendAudio<'src>
impl<'src> !UnwindSafe for SendAudio<'src>
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