pub struct GetChatInviteLink { /* private fields */ }
Expand description
Returns information about an invite link. Requires administrator privileges and can_invite_users right in the chat to get own links and owner privileges to get other links
Implementations§
Trait Implementations§
Source§impl AsRef<GetChatInviteLink> for GetChatInviteLink
impl AsRef<GetChatInviteLink> for GetChatInviteLink
Source§fn as_ref(&self) -> &GetChatInviteLink
fn as_ref(&self) -> &GetChatInviteLink
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetChatInviteLink
impl Clone for GetChatInviteLink
Source§fn clone(&self) -> GetChatInviteLink
fn clone(&self) -> GetChatInviteLink
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 GetChatInviteLink
impl Debug for GetChatInviteLink
Source§impl Default for GetChatInviteLink
impl Default for GetChatInviteLink
Source§fn default() -> GetChatInviteLink
fn default() -> GetChatInviteLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetChatInviteLink
impl<'de> Deserialize<'de> for GetChatInviteLink
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
Auto Trait Implementations§
impl Freeze for GetChatInviteLink
impl RefUnwindSafe for GetChatInviteLink
impl Send for GetChatInviteLink
impl Sync for GetChatInviteLink
impl Unpin for GetChatInviteLink
impl UnwindSafe for GetChatInviteLink
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