Struct frankenstein::api_params::SendVideoNoteParams [−][src]
pub struct SendVideoNoteParams { pub chat_id: ChatIdEnum, pub video_note: FileEnum, pub duration: Option<isize>, pub length: Option<isize>, pub thumb: Option<FileEnum>, 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_note: FileEnum
duration: Option<isize>
length: Option<isize>
thumb: Option<FileEnum>
disable_notification: Option<bool>
reply_to_message_id: Option<isize>
allow_sending_without_reply: Option<bool>
reply_markup: Option<ReplyMarkupEnum>
Implementations
impl SendVideoNoteParams
[src]
impl SendVideoNoteParams
[src]pub fn new(chat_id: ChatIdEnum, video_note: FileEnum) -> Self
[src]
pub fn set_chat_id(&mut self, chat_id: ChatIdEnum)
[src]
pub fn set_video_note(&mut self, video_note: FileEnum)
[src]
pub fn set_duration(&mut self, duration: Option<isize>)
[src]
pub fn set_length(&mut self, length: Option<isize>)
[src]
pub fn set_thumb(&mut self, thumb: Option<FileEnum>)
[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_note(&self) -> FileEnum
[src]
pub fn duration(&self) -> Option<isize>
[src]
pub fn length(&self) -> Option<isize>
[src]
pub fn thumb(&self) -> Option<FileEnum>
[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 SendVideoNoteParams
[src]
impl Clone for SendVideoNoteParams
[src]fn clone(&self) -> SendVideoNoteParams
[src]
fn clone(&self) -> SendVideoNoteParams
[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 SendVideoNoteParams
[src]
impl Debug for SendVideoNoteParams
[src]impl<'de> Deserialize<'de> for SendVideoNoteParams
[src]
impl<'de> Deserialize<'de> for SendVideoNoteParams
[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<SendVideoNoteParams> for SendVideoNoteParams
[src]
impl PartialEq<SendVideoNoteParams> for SendVideoNoteParams
[src]fn eq(&self, other: &SendVideoNoteParams) -> bool
[src]
fn eq(&self, other: &SendVideoNoteParams) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SendVideoNoteParams) -> bool
[src]
fn ne(&self, other: &SendVideoNoteParams) -> bool
[src]This method tests for !=
.
impl Serialize for SendVideoNoteParams
[src]
impl Serialize for SendVideoNoteParams
[src]impl StructuralPartialEq for SendVideoNoteParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for SendVideoNoteParams
impl Send for SendVideoNoteParams
impl Sync for SendVideoNoteParams
impl Unpin for SendVideoNoteParams
impl UnwindSafe for SendVideoNoteParams
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,