pub struct WrapperSendVideo { /* private fields */ }Implementations§
Source§impl WrapperSendVideo
impl WrapperSendVideo
pub fn send<'a>( self, ) -> impl Future<Item = (RequestHandle, Message), Error = Error> + 'a
pub fn video<S>(self, val: S) -> Self
pub fn duration<S>(self, val: S) -> Self
pub fn width<S>(self, val: S) -> Self
pub fn height<S>(self, val: S) -> Self
pub fn caption<S>(self, val: S) -> Self
pub fn parse_mode<S>(self, val: S) -> Self
pub fn disable_notification<S>(self, val: S) -> Self
pub fn reply_to_message_id<S>(self, val: S) -> Self
pub fn reply_markup<S>(self, val: S) -> Selfwhere
S: Into<ReplyMarkup>,
pub fn file<S, E>(self, val: S) -> Selfwhere
S: TryIntoFile<Error = E>,
Auto Trait Implementations§
impl Freeze for WrapperSendVideo
impl !RefUnwindSafe for WrapperSendVideo
impl Send for WrapperSendVideo
impl !Sync for WrapperSendVideo
impl Unpin for WrapperSendVideo
impl UnsafeUnpin for WrapperSendVideo
impl !UnwindSafe for WrapperSendVideo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more