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§
Source§impl Clone for DiscardCall
impl Clone for DiscardCall
Source§fn clone(&self) -> DiscardCall
fn clone(&self) -> DiscardCall
Returns a duplicate 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 DiscardCall
impl Debug for DiscardCall
Source§impl<'de> Deserialize<'de> for DiscardCall
impl<'de> Deserialize<'de> for DiscardCall
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
Source§impl Method for DiscardCall
impl Method for DiscardCall
Auto Trait Implementations§
impl Freeze for DiscardCall
impl RefUnwindSafe for DiscardCall
impl Send for DiscardCall
impl Sync for DiscardCall
impl Unpin for DiscardCall
impl UnwindSafe for DiscardCall
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