pub struct UploadResult {
pub file_id: String,
pub url: String,
}Expand description
Result of uploading a file to the platform.
Fields§
§file_id: StringPlatform-assigned file identifier (used for referencing in messages).
url: StringDirect URL to the uploaded file.
Trait Implementations§
Source§impl Clone for UploadResult
impl Clone for UploadResult
Source§fn clone(&self) -> UploadResult
fn clone(&self) -> UploadResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UploadResult
impl RefUnwindSafe for UploadResult
impl Send for UploadResult
impl Sync for UploadResult
impl Unpin for UploadResult
impl UnsafeUnpin for UploadResult
impl UnwindSafe for UploadResult
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