pub enum LaunchResultBase {
AsyncJobId(AsyncJobId),
}
Available on crate features
sync_routes
and dbx_async
only.Expand description
Result returned by methods that launch an asynchronous job. A method who may either launch an
asynchronous job, or complete the request synchronously, can use this union by extending it, and
adding a ‘complete’ field with the type of the synchronous response. See LaunchEmptyResult
for an example.
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.
Trait Implementations§
Source§impl Clone for LaunchResultBase
impl Clone for LaunchResultBase
Source§fn clone(&self) -> LaunchResultBase
fn clone(&self) -> LaunchResultBase
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 LaunchResultBase
impl Debug for LaunchResultBase
Source§impl<'de> Deserialize<'de> for LaunchResultBase
impl<'de> Deserialize<'de> for LaunchResultBase
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 CreateFolderBatchLaunch
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for CreateFolderBatchLaunch
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for DeleteBatchLaunch
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for DeleteBatchLaunch
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for LaunchEmptyResult
impl From<LaunchResultBase> for LaunchEmptyResult
Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for MembersAddLaunch
Available on crate feature dbx_team
only.
impl From<LaunchResultBase> for MembersAddLaunch
Available on crate feature
dbx_team
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for MembersAddLaunchV2Result
Available on crate feature dbx_team
only.
impl From<LaunchResultBase> for MembersAddLaunchV2Result
Available on crate feature
dbx_team
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for RelocationBatchLaunch
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for RelocationBatchLaunch
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for RelocationBatchV2Launch
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for RelocationBatchV2Launch
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for SaveUrlResult
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for SaveUrlResult
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for TeamFolderArchiveLaunch
Available on crate feature dbx_team
only.
impl From<LaunchResultBase> for TeamFolderArchiveLaunch
Available on crate feature
dbx_team
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl From<LaunchResultBase> for UploadSessionFinishBatchLaunch
Available on crate feature dbx_files
only.
impl From<LaunchResultBase> for UploadSessionFinishBatchLaunch
Available on crate feature
dbx_files
only.Source§fn from(parent: LaunchResultBase) -> Self
fn from(parent: LaunchResultBase) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LaunchResultBase
impl PartialEq for LaunchResultBase
Source§impl Serialize for LaunchResultBase
impl Serialize for LaunchResultBase
impl Eq for LaunchResultBase
impl StructuralPartialEq for LaunchResultBase
Auto Trait Implementations§
impl Freeze for LaunchResultBase
impl RefUnwindSafe for LaunchResultBase
impl Send for LaunchResultBase
impl Sync for LaunchResultBase
impl Unpin for LaunchResultBase
impl UnwindSafe for LaunchResultBase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.