pub struct LinkPreviewTypeVideoChat {
pub photo: Option<ChatPhoto>,
pub is_live_stream: bool,
pub joins_as_speaker: bool,
}Expand description
The link is a link to a video chat
Fields§
§photo: Option<ChatPhoto>Photo of the chat with the video chat; may be null if none
is_live_stream: boolTrue, if the video chat is expected to be a live stream in a channel or a broadcast group
joins_as_speaker: boolTrue, if the user can use the link to join the video chat without being muted by administrators
Trait Implementations§
Source§impl Clone for LinkPreviewTypeVideoChat
impl Clone for LinkPreviewTypeVideoChat
Source§fn clone(&self) -> LinkPreviewTypeVideoChat
fn clone(&self) -> LinkPreviewTypeVideoChat
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 LinkPreviewTypeVideoChat
impl Debug for LinkPreviewTypeVideoChat
Source§impl<'de> Deserialize<'de> for LinkPreviewTypeVideoChat
impl<'de> Deserialize<'de> for LinkPreviewTypeVideoChat
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 PartialEq for LinkPreviewTypeVideoChat
impl PartialEq for LinkPreviewTypeVideoChat
Source§impl Serialize for LinkPreviewTypeVideoChat
impl Serialize for LinkPreviewTypeVideoChat
impl StructuralPartialEq for LinkPreviewTypeVideoChat
Auto Trait Implementations§
impl Freeze for LinkPreviewTypeVideoChat
impl RefUnwindSafe for LinkPreviewTypeVideoChat
impl Send for LinkPreviewTypeVideoChat
impl Sync for LinkPreviewTypeVideoChat
impl Unpin for LinkPreviewTypeVideoChat
impl UnsafeUnpin for LinkPreviewTypeVideoChat
impl UnwindSafe for LinkPreviewTypeVideoChat
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