pub enum InlineQueryPeerType {
SameBotPm,
Pm,
Chat,
Megagroup,
Broadcast,
BotPm,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for InlineQueryPeerType
impl Clone for InlineQueryPeerType
Source§fn clone(&self) -> InlineQueryPeerType
fn clone(&self) -> InlineQueryPeerType
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 InlineQueryPeerType
impl Debug for InlineQueryPeerType
Source§impl Deserializable for InlineQueryPeerType
impl Deserializable for InlineQueryPeerType
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<InlineQueryPeerTypeBotPm> for InlineQueryPeerType
impl From<InlineQueryPeerTypeBotPm> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypeBotPm) -> Self
fn from(_x: InlineQueryPeerTypeBotPm) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryPeerTypeBroadcast> for InlineQueryPeerType
impl From<InlineQueryPeerTypeBroadcast> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypeBroadcast) -> Self
fn from(_x: InlineQueryPeerTypeBroadcast) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryPeerTypeChat> for InlineQueryPeerType
impl From<InlineQueryPeerTypeChat> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypeChat) -> Self
fn from(_x: InlineQueryPeerTypeChat) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryPeerTypeMegagroup> for InlineQueryPeerType
impl From<InlineQueryPeerTypeMegagroup> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypeMegagroup) -> Self
fn from(_x: InlineQueryPeerTypeMegagroup) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryPeerTypePm> for InlineQueryPeerType
impl From<InlineQueryPeerTypePm> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypePm) -> Self
fn from(_x: InlineQueryPeerTypePm) -> Self
Converts to this type from the input type.
Source§impl From<InlineQueryPeerTypeSameBotPm> for InlineQueryPeerType
impl From<InlineQueryPeerTypeSameBotPm> for InlineQueryPeerType
Source§fn from(_x: InlineQueryPeerTypeSameBotPm) -> Self
fn from(_x: InlineQueryPeerTypeSameBotPm) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InlineQueryPeerType
impl PartialEq for InlineQueryPeerType
Source§impl Serializable for InlineQueryPeerType
impl Serializable for InlineQueryPeerType
impl StructuralPartialEq for InlineQueryPeerType
Auto Trait Implementations§
impl Freeze for InlineQueryPeerType
impl RefUnwindSafe for InlineQueryPeerType
impl Send for InlineQueryPeerType
impl Sync for InlineQueryPeerType
impl Unpin for InlineQueryPeerType
impl UnsafeUnpin for InlineQueryPeerType
impl UnwindSafe for InlineQueryPeerType
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