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

pub trait ToFileRef {
    fn to_file_ref(&self) -> FileRef;
}

Get FileRef from the type reference.

Required methods

fn to_file_ref(&self) -> FileRef[src]

Loading content...

Implementors

impl ToFileRef for Audio[src]

impl ToFileRef for Document[src]

impl ToFileRef for PhotoSize[src]

impl ToFileRef for Sticker[src]

impl ToFileRef for Video[src]

impl ToFileRef for VideoNote[src]

impl ToFileRef for Voice[src]

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

Loading content...