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