pub struct OperationsCopyfileRequest {
pub async_: Option<bool>,
pub dst_fs: Option<String>,
pub dst_remote: Option<String>,
pub group: Option<String>,
pub src_fs: Option<String>,
pub src_remote: Option<String>,
}Expand description
OperationsCopyfileRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"dstFs": {
"description": "Destination remote name or path, such as `drive2:`
or `/` for local filesystem.",
"type": "string"
},
"dstRemote": {
"description": "Target path within `dstFs` where the file should be
written.",
"type": "string"
},
"srcFs": {
"description": "Source remote name or path, such as `drive:` or `/`
for the local filesystem.",
"type": "string"
},
"srcRemote": {
"description": "Path to the source object within `srcFs`, for
example `dir/file.txt`.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
dst_fs: Option<String>Destination remote name or path, such as drive2: or / for local
filesystem.
dst_remote: Option<String>Target path within dstFs where the file should be written.
group: Option<String>Assign the request to a custom stats group.
src_fs: Option<String>Source remote name or path, such as drive: or / for the local
filesystem.
src_remote: Option<String>Path to the source object within srcFs, for example
dir/file.txt.
Trait Implementations§
Source§impl Clone for OperationsCopyfileRequest
impl Clone for OperationsCopyfileRequest
Source§fn clone(&self) -> OperationsCopyfileRequest
fn clone(&self) -> OperationsCopyfileRequest
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 OperationsCopyfileRequest
impl Debug for OperationsCopyfileRequest
Source§impl Default for OperationsCopyfileRequest
impl Default for OperationsCopyfileRequest
Source§impl<'de> Deserialize<'de> for OperationsCopyfileRequest
impl<'de> Deserialize<'de> for OperationsCopyfileRequest
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<&OperationsCopyfileRequest> for OperationsCopyfileRequest
impl From<&OperationsCopyfileRequest> for OperationsCopyfileRequest
Source§fn from(value: &OperationsCopyfileRequest) -> Self
fn from(value: &OperationsCopyfileRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsCopyfileRequest
impl RefUnwindSafe for OperationsCopyfileRequest
impl Send for OperationsCopyfileRequest
impl Sync for OperationsCopyfileRequest
impl Unpin for OperationsCopyfileRequest
impl UnsafeUnpin for OperationsCopyfileRequest
impl UnwindSafe for OperationsCopyfileRequest
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