pub struct ExportChatInviteLink { /* private fields */ }
Expand description
Use this method to export chat invite links.
Implementations§
Source§impl ExportChatInviteLink
impl ExportChatInviteLink
pub fn new<C>(chat: C) -> ExportChatInviteLinkwhere
C: ToChatRef,
Trait Implementations§
Source§impl Clone for ExportChatInviteLink
impl Clone for ExportChatInviteLink
Source§fn clone(&self) -> ExportChatInviteLink
fn clone(&self) -> ExportChatInviteLink
Returns a duplicate 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 ExportChatInviteLink
impl Debug for ExportChatInviteLink
Source§impl PartialEq for ExportChatInviteLink
impl PartialEq for ExportChatInviteLink
Source§impl PartialOrd for ExportChatInviteLink
impl PartialOrd for ExportChatInviteLink
Source§impl Request for ExportChatInviteLink
impl Request for ExportChatInviteLink
type Type = JsonRequestType<ExportChatInviteLink>
type Response = JsonIdResponse<String>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
Source§impl Serialize for ExportChatInviteLink
impl Serialize for ExportChatInviteLink
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExportChatInviteLink
Auto Trait Implementations§
impl Freeze for ExportChatInviteLink
impl RefUnwindSafe for ExportChatInviteLink
impl Send for ExportChatInviteLink
impl Sync for ExportChatInviteLink
impl Unpin for ExportChatInviteLink
impl UnwindSafe for ExportChatInviteLink
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