Struct tdlib_types::methods::DiscardCall
source · pub struct DiscardCall {
pub call_id: i32,
pub is_disconnected: bool,
pub duration: i32,
pub connection_id: i64,
}
Expand description
Discards a call
Fields
call_id: i32
Call identifier
is_disconnected: bool
True, if the user was disconnected
duration: i32
The call duration, in seconds
connection_id: i64
Identifier of the connection used during the call
Trait Implementations
sourceimpl Clone for DiscardCall
impl Clone for DiscardCall
sourcefn clone(&self) -> DiscardCall
fn clone(&self) -> DiscardCall
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DiscardCall
impl Debug for DiscardCall
sourceimpl<'de> Deserialize<'de> for DiscardCall
impl<'de> Deserialize<'de> for DiscardCall
sourcefn 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
sourceimpl Method for DiscardCall
impl Method for DiscardCall
sourceimpl Serialize for DiscardCall
impl Serialize for DiscardCall
Auto Trait Implementations
impl RefUnwindSafe for DiscardCall
impl Send for DiscardCall
impl Sync for DiscardCall
impl Unpin for DiscardCall
impl UnwindSafe for DiscardCall
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more