Struct rust_tdlib::types::ChatInviteLinkInfo
source · pub struct ChatInviteLinkInfo { /* private fields */ }
Expand description
Contains information about a chat invite link
Implementations§
source§impl ChatInviteLinkInfo
impl ChatInviteLinkInfo
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatInviteLinkInfoBuilder
pub fn chat_id(&self) -> i64
pub fn accessible_for(&self) -> i32
pub fn type_(&self) -> &ChatType
pub fn title(&self) -> &String
pub fn photo(&self) -> &Option<ChatPhotoInfo>
pub fn description(&self) -> &String
pub fn member_count(&self) -> i32
pub fn member_user_ids(&self) -> &Vec<i64>
pub fn creates_join_request(&self) -> bool
pub fn is_public(&self) -> bool
Trait Implementations§
source§impl AsRef<ChatInviteLinkInfo> for ChatInviteLinkInfo
impl AsRef<ChatInviteLinkInfo> for ChatInviteLinkInfo
source§fn as_ref(&self) -> &ChatInviteLinkInfo
fn as_ref(&self) -> &ChatInviteLinkInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ChatInviteLinkInfo
impl Clone for ChatInviteLinkInfo
source§fn clone(&self) -> ChatInviteLinkInfo
fn clone(&self) -> ChatInviteLinkInfo
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 ChatInviteLinkInfo
impl Debug for ChatInviteLinkInfo
source§impl Default for ChatInviteLinkInfo
impl Default for ChatInviteLinkInfo
source§fn default() -> ChatInviteLinkInfo
fn default() -> ChatInviteLinkInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChatInviteLinkInfo
impl<'de> Deserialize<'de> for ChatInviteLinkInfo
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