Struct frankenstein::api_params::SendVideoParams [−][src]
pub struct SendVideoParams {}Show fields
pub chat_id: ChatIdEnum, pub video: FileEnum, pub duration: Option<isize>, pub width: Option<isize>, pub height: Option<isize>, pub thumb: Option<FileEnum>, pub caption: Option<String>, pub parse_mode: Option<String>, pub caption_entities: Option<Vec<MessageEntity>>, pub supports_streaming: Option<bool>, pub disable_notification: Option<bool>, pub reply_to_message_id: Option<isize>, pub allow_sending_without_reply: Option<bool>, pub reply_markup: Option<ReplyMarkupEnum>,
Fields
chat_id: ChatIdEnum
video: FileEnum
duration: Option<isize>
width: Option<isize>
height: Option<isize>
thumb: Option<FileEnum>
parse_mode: Option<String>
supports_streaming: Option<bool>
disable_notification: Option<bool>
reply_to_message_id: Option<isize>
allow_sending_without_reply: Option<bool>
reply_markup: Option<ReplyMarkupEnum>
Implementations
impl SendVideoParams
[src]
impl SendVideoParams
[src]pub fn new(chat_id: ChatIdEnum, video: FileEnum) -> Self
[src]
pub fn set_chat_id(&mut self, chat_id: ChatIdEnum)
[src]
pub fn set_video(&mut self, video: FileEnum)
[src]
pub fn set_duration(&mut self, duration: Option<isize>)
[src]
pub fn set_width(&mut self, width: Option<isize>)
[src]
pub fn set_height(&mut self, height: Option<isize>)
[src]
pub fn set_thumb(&mut self, thumb: Option<FileEnum>)
[src]
pub fn set_caption(&mut self, caption: Option<String>)
[src]
pub fn set_parse_mode(&mut self, parse_mode: Option<String>)
[src]
pub fn set_caption_entities(
&mut self,
caption_entities: Option<Vec<MessageEntity>>
)
[src]
&mut self,
caption_entities: Option<Vec<MessageEntity>>
)
pub fn set_supports_streaming(&mut self, supports_streaming: Option<bool>)
[src]
pub fn set_disable_notification(&mut self, disable_notification: Option<bool>)
[src]
pub fn set_reply_to_message_id(&mut self, reply_to_message_id: Option<isize>)
[src]
pub fn set_allow_sending_without_reply(
&mut self,
allow_sending_without_reply: Option<bool>
)
[src]
&mut self,
allow_sending_without_reply: Option<bool>
)
pub fn set_reply_markup(&mut self, reply_markup: Option<ReplyMarkupEnum>)
[src]
pub fn chat_id(&self) -> ChatIdEnum
[src]
pub fn video(&self) -> FileEnum
[src]
pub fn duration(&self) -> Option<isize>
[src]
pub fn width(&self) -> Option<isize>
[src]
pub fn height(&self) -> Option<isize>
[src]
pub fn thumb(&self) -> Option<FileEnum>
[src]
pub fn caption(&self) -> Option<String>
[src]
pub fn parse_mode(&self) -> Option<String>
[src]
pub fn caption_entities(&self) -> Option<Vec<MessageEntity>>
[src]
pub fn supports_streaming(&self) -> Option<bool>
[src]
pub fn disable_notification(&self) -> Option<bool>
[src]
pub fn reply_to_message_id(&self) -> Option<isize>
[src]
pub fn allow_sending_without_reply(&self) -> Option<bool>
[src]
pub fn reply_markup(&self) -> Option<ReplyMarkupEnum>
[src]
Trait Implementations
impl Clone for SendVideoParams
[src]
impl Clone for SendVideoParams
[src]fn clone(&self) -> SendVideoParams
[src]
fn clone(&self) -> SendVideoParams
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SendVideoParams
[src]
impl Debug for SendVideoParams
[src]impl<'de> Deserialize<'de> for SendVideoParams
[src]
impl<'de> Deserialize<'de> for SendVideoParams
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<SendVideoParams> for SendVideoParams
[src]
impl PartialEq<SendVideoParams> for SendVideoParams
[src]fn eq(&self, other: &SendVideoParams) -> bool
[src]
fn eq(&self, other: &SendVideoParams) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SendVideoParams) -> bool
[src]
fn ne(&self, other: &SendVideoParams) -> bool
[src]This method tests for !=
.
impl Serialize for SendVideoParams
[src]
impl Serialize for SendVideoParams
[src]impl StructuralPartialEq for SendVideoParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for SendVideoParams
impl Send for SendVideoParams
impl Sync for SendVideoParams
impl Unpin for SendVideoParams
impl UnwindSafe for SendVideoParams
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> UnsafeAny for T where
T: Any,
T: Any,