[][src]Trait telegram_bot_raw::types::refs::ToUserId

pub trait ToUserId {
    fn to_user_id(&self) -> UserId;
}

Get UserId from the type reference.

Required methods

fn to_user_id(&self) -> UserId

Loading content...

Implementors

impl ToUserId for User[src]

impl ToUserId for ChatMember[src]

impl ToUserId for UserId[src]

impl<S> ToUserId for S where
    S: Deref,
    S::Target: ToUserId
[src]

Loading content...