pub struct SyncSyncRequest {
pub async_: Option<bool>,
pub config: Option<String>,
pub create_empty_src_dirs: Option<bool>,
pub dst_fs: Option<String>,
pub filter: Option<String>,
pub group: Option<String>,
pub src_fs: Option<String>,
}Expand description
SyncSyncRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_config": {
"description": "JSON encoded config overrides applied for this call
only.",
"type": "string"
},
"_filter": {
"description": "JSON encoded filter overrides applied for this call
only.",
"type": "string"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"createEmptySrcDirs": {
"description": "Set to true to create empty source directories on
the destination.",
"type": "boolean"
},
"dstFs": {
"description": "Destination remote path to sync to, e.g.
`drive:dst`.",
"type": "string"
},
"srcFs": {
"description": "Source remote path to sync from, e.g.
`drive:src`.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
config: Option<String>JSON encoded config overrides applied for this call only.
create_empty_src_dirs: Option<bool>Set to true to create empty source directories on the destination.
dst_fs: Option<String>Destination remote path to sync to, e.g. drive:dst.
filter: Option<String>JSON encoded filter overrides applied for this call only.
group: Option<String>Assign the request to a custom stats group.
src_fs: Option<String>Source remote path to sync from, e.g. drive:src.
Trait Implementations§
Source§impl Clone for SyncSyncRequest
impl Clone for SyncSyncRequest
Source§fn clone(&self) -> SyncSyncRequest
fn clone(&self) -> SyncSyncRequest
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 moreSource§impl Debug for SyncSyncRequest
impl Debug for SyncSyncRequest
Source§impl Default for SyncSyncRequest
impl Default for SyncSyncRequest
Source§impl<'de> Deserialize<'de> for SyncSyncRequest
impl<'de> Deserialize<'de> for SyncSyncRequest
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 From<&SyncSyncRequest> for SyncSyncRequest
impl From<&SyncSyncRequest> for SyncSyncRequest
Source§fn from(value: &SyncSyncRequest) -> Self
fn from(value: &SyncSyncRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncSyncRequest
impl RefUnwindSafe for SyncSyncRequest
impl Send for SyncSyncRequest
impl Sync for SyncSyncRequest
impl Unpin for SyncSyncRequest
impl UnsafeUnpin for SyncSyncRequest
impl UnwindSafe for SyncSyncRequest
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