pub enum ExportedChatInvite {
ChatInviteExported(ChatInviteExported),
ChatInvitePublicJoinRequests,
}Expand description
Variants§
ChatInviteExported(ChatInviteExported)
ChatInvitePublicJoinRequests
Trait Implementations§
Source§impl Clone for ExportedChatInvite
impl Clone for ExportedChatInvite
Source§fn clone(&self) -> ExportedChatInvite
fn clone(&self) -> ExportedChatInvite
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 ExportedChatInvite
impl Debug for ExportedChatInvite
Source§impl Deserializable for ExportedChatInvite
impl Deserializable for ExportedChatInvite
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatInviteExported> for ExportedChatInvite
impl From<ChatInviteExported> for ExportedChatInvite
Source§fn from(x: ChatInviteExported) -> Self
fn from(x: ChatInviteExported) -> Self
Converts to this type from the input type.
Source§impl From<ChatInvitePublicJoinRequests> for ExportedChatInvite
impl From<ChatInvitePublicJoinRequests> for ExportedChatInvite
Source§fn from(_x: ChatInvitePublicJoinRequests) -> Self
fn from(_x: ChatInvitePublicJoinRequests) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExportedChatInvite
impl PartialEq for ExportedChatInvite
Source§impl Serializable for ExportedChatInvite
impl Serializable for ExportedChatInvite
Source§impl TryFrom<ExportedChatInvite> for ChatInviteExported
impl TryFrom<ExportedChatInvite> for ChatInviteExported
Source§type Error = ExportedChatInvite
type Error = ExportedChatInvite
The type returned in the event of a conversion error.
impl StructuralPartialEq for ExportedChatInvite
Auto Trait Implementations§
impl Freeze for ExportedChatInvite
impl RefUnwindSafe for ExportedChatInvite
impl Send for ExportedChatInvite
impl Sync for ExportedChatInvite
impl Unpin for ExportedChatInvite
impl UnsafeUnpin for ExportedChatInvite
impl UnwindSafe for ExportedChatInvite
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