pub enum ChatInvite {
Already(ChatInviteAlready),
ChatInvite(ChatInvite),
Peek(ChatInvitePeek),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for ChatInvite
impl Clone for ChatInvite
Source§fn clone(&self) -> ChatInvite
fn clone(&self) -> ChatInvite
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 ChatInvite
impl Debug for ChatInvite
Source§impl Deserializable for ChatInvite
impl Deserializable for ChatInvite
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<ChatInvite> for ChatInvite
impl From<ChatInvite> for ChatInvite
Source§fn from(x: ChatInvite) -> Self
fn from(x: ChatInvite) -> Self
Converts to this type from the input type.
Source§impl From<ChatInviteAlready> for ChatInvite
impl From<ChatInviteAlready> for ChatInvite
Source§fn from(x: ChatInviteAlready) -> Self
fn from(x: ChatInviteAlready) -> Self
Converts to this type from the input type.
Source§impl From<ChatInvitePeek> for ChatInvite
impl From<ChatInvitePeek> for ChatInvite
Source§fn from(x: ChatInvitePeek) -> Self
fn from(x: ChatInvitePeek) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatInvite
impl PartialEq for ChatInvite
Source§impl Serializable for ChatInvite
impl Serializable for ChatInvite
Source§impl TryFrom<ChatInvite> for ChatInvite
impl TryFrom<ChatInvite> for ChatInvite
Source§type Error = ChatInvite
type Error = ChatInvite
The type returned in the event of a conversion error.
Source§impl TryFrom<ChatInvite> for ChatInviteAlready
impl TryFrom<ChatInvite> for ChatInviteAlready
Source§type Error = ChatInvite
type Error = ChatInvite
The type returned in the event of a conversion error.
Source§impl TryFrom<ChatInvite> for ChatInvitePeek
impl TryFrom<ChatInvite> for ChatInvitePeek
Source§type Error = ChatInvite
type Error = ChatInvite
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatInvite
Auto Trait Implementations§
impl Freeze for ChatInvite
impl RefUnwindSafe for ChatInvite
impl Send for ChatInvite
impl Sync for ChatInvite
impl Unpin for ChatInvite
impl UnsafeUnpin for ChatInvite
impl UnwindSafe for ChatInvite
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