Struct rust_tdlib::types::ChatInviteLink
source · pub struct ChatInviteLink { /* private fields */ }
Expand description
Contains a chat invite link
Implementations§
source§impl ChatInviteLink
impl ChatInviteLink
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatInviteLinkBuilder
pub fn invite_link(&self) -> &String
pub fn name(&self) -> &String
pub fn creator_user_id(&self) -> i64
pub fn date(&self) -> i32
pub fn edit_date(&self) -> i32
pub fn expiration_date(&self) -> i32
pub fn member_limit(&self) -> i32
pub fn member_count(&self) -> i32
pub fn pending_join_request_count(&self) -> i32
pub fn creates_join_request(&self) -> bool
pub fn is_primary(&self) -> bool
pub fn is_revoked(&self) -> bool
Trait Implementations§
source§impl AsRef<ChatInviteLink> for ChatInviteLink
impl AsRef<ChatInviteLink> for ChatInviteLink
source§fn as_ref(&self) -> &ChatInviteLink
fn as_ref(&self) -> &ChatInviteLink
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ChatInviteLink
impl Clone for ChatInviteLink
source§fn clone(&self) -> ChatInviteLink
fn clone(&self) -> ChatInviteLink
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 ChatInviteLink
impl Debug for ChatInviteLink
source§impl Default for ChatInviteLink
impl Default for ChatInviteLink
source§fn default() -> ChatInviteLink
fn default() -> ChatInviteLink
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChatInviteLink
impl<'de> Deserialize<'de> for ChatInviteLink
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