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