Struct rust_tdlib::types::ChatInviteLink
source · [−]pub struct ChatInviteLink { /* private fields */ }Expand description
Contains a chat invite link
Implementations
sourceimpl 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
sourceimpl AsRef<ChatInviteLink> for ChatInviteLink
impl AsRef<ChatInviteLink> for ChatInviteLink
sourcefn as_ref(&self) -> &ChatInviteLink
fn as_ref(&self) -> &ChatInviteLink
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatInviteLink
impl Clone for ChatInviteLink
sourcefn clone(&self) -> ChatInviteLink
fn clone(&self) -> ChatInviteLink
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChatInviteLink
impl Debug for ChatInviteLink
sourceimpl Default for ChatInviteLink
impl Default for ChatInviteLink
sourcefn default() -> ChatInviteLink
fn default() -> ChatInviteLink
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChatInviteLink
impl<'de> Deserialize<'de> for ChatInviteLink
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
sourceimpl Serialize for ChatInviteLink
impl Serialize for ChatInviteLink
Auto Trait Implementations
impl RefUnwindSafe for ChatInviteLink
impl Send for ChatInviteLink
impl Sync for ChatInviteLink
impl Unpin for ChatInviteLink
impl UnwindSafe for ChatInviteLink
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