pub struct SyncCopyRequest {
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
SyncCopyRequest
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 replicate empty source directories
on the destination.",
"type": "boolean"
},
"dstFs": {
"description": "Destination remote path to copy to.",
"type": "string"
},
"srcFs": {
"description": "Source remote path to copy from.",
"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 replicate empty source directories on the destination.
dst_fs: Option<String>Destination remote path to copy to.
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 copy from.
Trait Implementations§
Source§impl Clone for SyncCopyRequest
impl Clone for SyncCopyRequest
Source§fn clone(&self) -> SyncCopyRequest
fn clone(&self) -> SyncCopyRequest
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 SyncCopyRequest
impl Debug for SyncCopyRequest
Source§impl Default for SyncCopyRequest
impl Default for SyncCopyRequest
Source§impl<'de> Deserialize<'de> for SyncCopyRequest
impl<'de> Deserialize<'de> for SyncCopyRequest
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<&SyncCopyRequest> for SyncCopyRequest
impl From<&SyncCopyRequest> for SyncCopyRequest
Source§fn from(value: &SyncCopyRequest) -> Self
fn from(value: &SyncCopyRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SyncCopyRequest
impl RefUnwindSafe for SyncCopyRequest
impl Send for SyncCopyRequest
impl Sync for SyncCopyRequest
impl Unpin for SyncCopyRequest
impl UnsafeUnpin for SyncCopyRequest
impl UnwindSafe for SyncCopyRequest
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