[][src]Struct telegram_bot::types::UserId

pub struct UserId(_);

Unique user identifier.

Implementations

impl UserId[src]

pub fn new(inner: i64) -> UserId[src]

Trait Implementations

impl Clone for UserId[src]

impl Copy for UserId[src]

impl Debug for UserId[src]

impl<'de> Deserialize<'de> for UserId[src]

impl Display for UserId[src]

impl Eq for UserId[src]

impl From<UserId> for ChatId[src]

impl From<i64> for UserId[src]

impl Hash for UserId[src]

impl Ord for UserId[src]

impl PartialEq<UserId> for UserId[src]

impl PartialOrd<UserId> for UserId[src]

impl Serialize for UserId[src]

impl StructuralEq for UserId[src]

impl StructuralPartialEq for UserId[src]

impl ToChatRef for UserId[src]

impl ToUserId for UserId[src]

Auto Trait Implementations

impl RefUnwindSafe for UserId[src]

impl Send for UserId[src]

impl Sync for UserId[src]

impl Unpin for UserId[src]

impl UnwindSafe for UserId[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<C> CanGetChat for C where
    C: ToChatRef
[src]

impl<C> CanGetChatAdministrators for C where
    C: ToChatRef
[src]

impl<C> CanGetChatMemberForChat for C where
    C: ToChatRef
[src]

impl<U> CanGetChatMemberForUser for U where
    U: ToUserId
[src]

impl<C> CanGetChatMembersCount for C where
    C: ToChatRef
[src]

impl<'b, U> CanGetUserProfilePhotos for U where
    U: ToUserId
[src]

impl<C> CanKickChatMemberForChat for C where
    C: ToChatRef
[src]

impl<U> CanKickChatMemberForUser for U where
    U: ToUserId
[src]

impl<C> CanLeaveChat for C where
    C: ToChatRef
[src]

impl<M> CanSendAudio for M where
    M: ToChatRef
[src]

impl<C> CanSendChatAction for C where
    C: ToChatRef
[src]

impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
    C: ToChatRef
[src]

impl<M> CanSendDocument for M where
    M: ToChatRef
[src]

impl<C> CanSendLocation for C where
    C: ToChatRef
[src]

impl<C> CanSendMessage for C where
    C: ToChatRef
[src]

impl<M> CanSendPhoto for M where
    M: ToChatRef
[src]

impl<C> CanSendPoll for C where
    C: ToChatRef
[src]

impl<'t, 'a, 'f, C> CanSendVenue<'t, 'a, 'f> for C where
    C: ToChatRef
[src]

impl<M> CanSendVideo for M where
    M: ToChatRef
[src]

impl<C> CanUnbanChatMemberForChat for C where
    C: ToChatRef
[src]

impl<U> CanUnbanChatMemberForUser for U where
    U: ToUserId
[src]

impl<C> CanUnpinMessage for C where
    C: ToChatRef
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]