[−][src]Enum grammers_tl_types::enums::InputPeer
Variants
Empty(InputPeerEmpty)
PeerSelf(InputPeerSelf)
Chat(InputPeerChat)
User(InputPeerUser)
Channel(InputPeerChannel)
UserFromMessage(Box<InputPeerUserFromMessage>)
ChannelFromMessage(Box<InputPeerChannelFromMessage>)
Trait Implementations
impl Clone for InputPeer
[src]
impl Debug for InputPeer
[src]
impl Deserializable for InputPeer
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<InputPeerChannel> for InputPeer
[src]
fn from(x: InputPeerChannel) -> Self
[src]
impl From<InputPeerChannelFromMessage> for InputPeer
[src]
fn from(x: InputPeerChannelFromMessage) -> Self
[src]
impl From<InputPeerChat> for InputPeer
[src]
fn from(x: InputPeerChat) -> Self
[src]
impl From<InputPeerEmpty> for InputPeer
[src]
fn from(x: InputPeerEmpty) -> Self
[src]
impl From<InputPeerSelf> for InputPeer
[src]
fn from(x: InputPeerSelf) -> Self
[src]
impl From<InputPeerUser> for InputPeer
[src]
fn from(x: InputPeerUser) -> Self
[src]
impl From<InputPeerUserFromMessage> for InputPeer
[src]
fn from(x: InputPeerUserFromMessage) -> Self
[src]
impl PartialEq<InputPeer> for InputPeer
[src]
impl Serializable for InputPeer
[src]
impl StructuralPartialEq for InputPeer
[src]
impl TryFrom<InputPeer> for InputPeerChannel
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerChannelFromMessage
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerChat
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerSelf
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerUser
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: InputPeer) -> Result<Self, Self::Error>
[src]
impl TryFrom<InputPeer> for InputPeerUserFromMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputPeer
impl Send for InputPeer
impl Sync for InputPeer
impl Unpin for InputPeer
impl UnwindSafe for InputPeer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,