pub struct SyncMoveRequest {
pub async_: Option<bool>,
pub config: Option<String>,
pub create_empty_src_dirs: Option<bool>,
pub delete_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
SyncMoveRequest
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"
},
"deleteEmptySrcDirs": {
"description": "Set to true to delete empty directories from the
source after the move completes.",
"type": "boolean"
},
"dstFs": {
"description": "Destination remote path that will receive moved
files.",
"type": "string"
},
"srcFs": {
"description": "Source remote path whose contents will be moved.",
"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.
delete_empty_src_dirs: Option<bool>Set to true to delete empty directories from the source after the move completes.
dst_fs: Option<String>Destination remote path that will receive moved files.
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 whose contents will be moved.
Trait Implementations§
Source§impl Clone for SyncMoveRequest
impl Clone for SyncMoveRequest
Source§fn clone(&self) -> SyncMoveRequest
fn clone(&self) -> SyncMoveRequest
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 SyncMoveRequest
impl Debug for SyncMoveRequest
Source§impl Default for SyncMoveRequest
impl Default for SyncMoveRequest
Source§impl<'de> Deserialize<'de> for SyncMoveRequest
impl<'de> Deserialize<'de> for SyncMoveRequest
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<&SyncMoveRequest> for SyncMoveRequest
impl From<&SyncMoveRequest> for SyncMoveRequest
Source§fn from(value: &SyncMoveRequest) -> Self
fn from(value: &SyncMoveRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncMoveRequest
impl RefUnwindSafe for SyncMoveRequest
impl Send for SyncMoveRequest
impl Sync for SyncMoveRequest
impl Unpin for SyncMoveRequest
impl UnsafeUnpin for SyncMoveRequest
impl UnwindSafe for SyncMoveRequest
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