pub enum ChatInviteJoinResult {
Ok(ChatInviteJoinResultOk),
WebView(ChatInviteJoinResultWebView),
}Expand description
Variants§
Ok(ChatInviteJoinResultOk)
WebView(ChatInviteJoinResultWebView)
Trait Implementations§
Source§impl Clone for ChatInviteJoinResult
impl Clone for ChatInviteJoinResult
Source§fn clone(&self) -> ChatInviteJoinResult
fn clone(&self) -> ChatInviteJoinResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatInviteJoinResult
impl Debug for ChatInviteJoinResult
Source§impl Deserializable for ChatInviteJoinResult
impl Deserializable for ChatInviteJoinResult
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<ChatInviteJoinResultOk> for ChatInviteJoinResult
impl From<ChatInviteJoinResultOk> for ChatInviteJoinResult
Source§fn from(x: ChatInviteJoinResultOk) -> Self
fn from(x: ChatInviteJoinResultOk) -> Self
Converts to this type from the input type.
Source§impl From<ChatInviteJoinResultWebView> for ChatInviteJoinResult
impl From<ChatInviteJoinResultWebView> for ChatInviteJoinResult
Source§fn from(x: ChatInviteJoinResultWebView) -> Self
fn from(x: ChatInviteJoinResultWebView) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatInviteJoinResult
impl PartialEq for ChatInviteJoinResult
Source§fn eq(&self, other: &ChatInviteJoinResult) -> bool
fn eq(&self, other: &ChatInviteJoinResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for ChatInviteJoinResult
impl Serializable for ChatInviteJoinResult
impl StructuralPartialEq for ChatInviteJoinResult
Source§impl TryFrom<ChatInviteJoinResult> for ChatInviteJoinResultOk
impl TryFrom<ChatInviteJoinResult> for ChatInviteJoinResultOk
Source§type Error = ChatInviteJoinResult
type Error = ChatInviteJoinResult
The type returned in the event of a conversion error.
Source§impl TryFrom<ChatInviteJoinResult> for ChatInviteJoinResultWebView
impl TryFrom<ChatInviteJoinResult> for ChatInviteJoinResultWebView
Source§type Error = ChatInviteJoinResult
type Error = ChatInviteJoinResult
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ChatInviteJoinResult
impl RefUnwindSafe for ChatInviteJoinResult
impl Send for ChatInviteJoinResult
impl Sync for ChatInviteJoinResult
impl Unpin for ChatInviteJoinResult
impl UnsafeUnpin for ChatInviteJoinResult
impl UnwindSafe for ChatInviteJoinResult
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