Struct tdlib::types::MessageCall
source · pub struct MessageCall {
pub is_video: bool,
pub discard_reason: CallDiscardReason,
pub duration: i32,
}
Expand description
A message with information about an ended call
Fields§
§is_video: bool
True, if the call was a video call
discard_reason: CallDiscardReason
Reason why the call was discarded
duration: i32
Call duration, in seconds
Trait Implementations§
source§impl Clone for MessageCall
impl Clone for MessageCall
source§fn clone(&self) -> MessageCall
fn clone(&self) -> MessageCall
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 MessageCall
impl Debug for MessageCall
source§impl<'de> Deserialize<'de> for MessageCall
impl<'de> Deserialize<'de> for MessageCall
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