Struct telegram_bot_fork_raw::requests::get_file::GetFile
source · pub struct GetFile { /* private fields */ }
Expand description
Use this method to get basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size.
Implementations
Trait Implementations
sourceimpl PartialOrd<GetFile> for GetFile
impl PartialOrd<GetFile> for GetFile
sourcefn partial_cmp(&self, other: &GetFile) -> Option<Ordering>
fn partial_cmp(&self, other: &GetFile) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl<'s> Request for GetFile
impl<'s> Request for GetFile
type Type = JsonRequestType<GetFile>
type Response = JsonIdResponse<File>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
impl StructuralPartialEq for GetFile
Auto Trait Implementations
impl RefUnwindSafe for GetFile
impl Send for GetFile
impl Sync for GetFile
impl Unpin for GetFile
impl UnwindSafe for GetFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more