Struct botapi::gen_types::VideoChatEndedBuilder
source · pub struct VideoChatEndedBuilder { /* private fields */ }Expand description
This object represents a service message about a video chat ended in the chat.
Implementations§
source§impl VideoChatEndedBuilder
impl VideoChatEndedBuilder
pub fn new(duration: i64) -> Self
sourcepub fn set_duration(self, duration: i64) -> Self
pub fn set_duration(self, duration: i64) -> Self
Video chat duration in seconds
pub fn build(self) -> VideoChatEnded
Trait Implementations§
source§impl Clone for VideoChatEndedBuilder
impl Clone for VideoChatEndedBuilder
source§fn clone(&self) -> VideoChatEndedBuilder
fn clone(&self) -> VideoChatEndedBuilder
Returns a copy of the value. Read more
1.0.0 · 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 VideoChatEndedBuilder
impl Debug for VideoChatEndedBuilder
source§impl Default for VideoChatEndedBuilder
impl Default for VideoChatEndedBuilder
source§fn default() -> VideoChatEndedBuilder
fn default() -> VideoChatEndedBuilder
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoChatEndedBuilder
impl<'de> Deserialize<'de> for VideoChatEndedBuilder
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VideoChatEndedBuilder
impl Send for VideoChatEndedBuilder
impl Sync for VideoChatEndedBuilder
impl Unpin for VideoChatEndedBuilder
impl UnwindSafe for VideoChatEndedBuilder
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