[−][src]Trait telegram_bot::types::refs::ToUserId
Get UserId from the type reference.
Required methods
fn to_user_id(&self) -> UserId
Implementors
impl ToUserId for User[src]
fn to_user_id(&self) -> UserId[src]
impl ToUserId for ChatMember[src]
fn to_user_id(&self) -> UserId[src]
impl ToUserId for UserId[src]
fn to_user_id(&self) -> UserId[src]
impl<S> ToUserId for S where
S: Deref,
<S as Deref>::Target: ToUserId, [src]
S: Deref,
<S as Deref>::Target: ToUserId,