pub enum SaveUrlResult {
AsyncJobId(AsyncJobId),
Complete(FileMetadata),
}
Available on crate features
sync_routes
and dbx_files
only.Variants§
AsyncJobId(AsyncJobId)
This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
Complete(FileMetadata)
Metadata of the file where the URL is saved to.
Trait Implementations§
Source§impl Clone for SaveUrlResult
impl Clone for SaveUrlResult
Source§fn clone(&self) -> SaveUrlResult
fn clone(&self) -> SaveUrlResult
Returns a copy 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 SaveUrlResult
impl Debug for SaveUrlResult
Source§impl<'de> Deserialize<'de> for SaveUrlResult
impl<'de> Deserialize<'de> for SaveUrlResult
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<LaunchResultBase> for SaveUrlResult
impl From<LaunchResultBase> for SaveUrlResult
Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SaveUrlResult
impl PartialEq for SaveUrlResult
Source§impl Serialize for SaveUrlResult
impl Serialize for SaveUrlResult
impl StructuralPartialEq for SaveUrlResult
Auto Trait Implementations§
impl Freeze for SaveUrlResult
impl RefUnwindSafe for SaveUrlResult
impl Send for SaveUrlResult
impl Sync for SaveUrlResult
impl Unpin for SaveUrlResult
impl UnwindSafe for SaveUrlResult
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