Struct rust_tdlib::types::RevokeChatInviteLink
source · [−]pub struct RevokeChatInviteLink { /* private fields */ }
Expand description
Revokes invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links. If a primary link is revoked, then additionally to the revoked link returns new primary link
Implementations
Trait Implementations
sourceimpl AsRef<RevokeChatInviteLink> for RevokeChatInviteLink
impl AsRef<RevokeChatInviteLink> for RevokeChatInviteLink
sourcefn as_ref(&self) -> &RevokeChatInviteLink
fn as_ref(&self) -> &RevokeChatInviteLink
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for RevokeChatInviteLink
impl Clone for RevokeChatInviteLink
sourcefn clone(&self) -> RevokeChatInviteLink
fn clone(&self) -> RevokeChatInviteLink
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 RevokeChatInviteLink
impl Debug for RevokeChatInviteLink
sourceimpl Default for RevokeChatInviteLink
impl Default for RevokeChatInviteLink
sourcefn default() -> RevokeChatInviteLink
fn default() -> RevokeChatInviteLink
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RevokeChatInviteLink
impl<'de> Deserialize<'de> for RevokeChatInviteLink
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 RevokeChatInviteLink
impl Serialize for RevokeChatInviteLink
Auto Trait Implementations
impl RefUnwindSafe for RevokeChatInviteLink
impl Send for RevokeChatInviteLink
impl Sync for RevokeChatInviteLink
impl Unpin for RevokeChatInviteLink
impl UnwindSafe for RevokeChatInviteLink
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