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§
Source§impl PartialOrd for GetFile
impl PartialOrd for GetFile
Source§impl Serialize for GetFile
impl Serialize for GetFile
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetFile
Auto Trait Implementations§
impl Freeze for GetFile
impl RefUnwindSafe for GetFile
impl Send for GetFile
impl Sync for GetFile
impl Unpin for GetFile
impl UnwindSafe for GetFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more