Struct rust_tdlib::types::VideoChat
source · [−]pub struct VideoChat { /* private fields */ }
Expand description
Describes a video chat
Implementations
sourceimpl VideoChat
impl VideoChat
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> VideoChatBuilder
pub fn group_call_id(&self) -> i32
pub fn has_participants(&self) -> bool
pub fn default_participant_id(&self) -> &Option<MessageSender>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for VideoChat
impl<'de> Deserialize<'de> for VideoChat
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
Auto Trait Implementations
impl RefUnwindSafe for VideoChat
impl Send for VideoChat
impl Sync for VideoChat
impl Unpin for VideoChat
impl UnwindSafe for VideoChat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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