pub struct Uploading {
pub attachment_id: AttachmentId,
pub expires_at: u64,
}Expand description
attachment.upload response.
Fields§
§attachment_id: AttachmentIdHost-assigned id; the file’s caption names it (caption).
expires_at: u64When the host stops waiting for the file, ms.
Trait Implementations§
impl Copy for Uploading
Source§impl<'de> Deserialize<'de> for Uploading
impl<'de> Deserialize<'de> for Uploading
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Uploading
impl StructuralPartialEq for Uploading
Auto Trait Implementations§
impl Freeze for Uploading
impl RefUnwindSafe for Uploading
impl Send for Uploading
impl Sync for Uploading
impl Unpin for Uploading
impl UnsafeUnpin for Uploading
impl UnwindSafe for Uploading
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