pub struct UploadedFile {
pub name: String,
pub url: String,
}Expand description
Uploaded file metadata returned by crate::CyberdropClient::upload_file.
Fields§
§name: StringName of the uploaded file.
url: StringURL of the uploaded file (stringified URL).
Trait Implementations§
Source§impl Clone for UploadedFile
impl Clone for UploadedFile
Source§fn clone(&self) -> UploadedFile
fn clone(&self) -> UploadedFile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UploadedFile
impl Debug for UploadedFile
Source§impl<'de> Deserialize<'de> for UploadedFile
impl<'de> Deserialize<'de> for UploadedFile
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
Source§impl PartialEq for UploadedFile
impl PartialEq for UploadedFile
impl Eq for UploadedFile
impl StructuralPartialEq for UploadedFile
Auto Trait Implementations§
impl Freeze for UploadedFile
impl RefUnwindSafe for UploadedFile
impl Send for UploadedFile
impl Sync for UploadedFile
impl Unpin for UploadedFile
impl UnwindSafe for UploadedFile
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