pub struct OperationsMovefileRequest {
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
OperationsMovefileRequest
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 where the file will
be moved.",
"type": "string"
},
"dstRemote": {
"description": "Destination path within `dstFs` for the moved
object.",
"type": "string"
},
"srcFs": {
"description": "Source remote name or path containing the file to
move.",
"type": "string"
},
"srcRemote": {
"description": "Path to the source object within `srcFs`.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
dst_fs: Option<String>Destination remote name or path where the file will be moved.
dst_remote: Option<String>Destination path within dstFs for the moved object.
group: Option<String>Assign the request to a custom stats group.
src_fs: Option<String>Source remote name or path containing the file to move.
src_remote: Option<String>Path to the source object within srcFs.
Trait Implementations§
Source§impl Clone for OperationsMovefileRequest
impl Clone for OperationsMovefileRequest
Source§fn clone(&self) -> OperationsMovefileRequest
fn clone(&self) -> OperationsMovefileRequest
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 OperationsMovefileRequest
impl Debug for OperationsMovefileRequest
Source§impl Default for OperationsMovefileRequest
impl Default for OperationsMovefileRequest
Source§impl<'de> Deserialize<'de> for OperationsMovefileRequest
impl<'de> Deserialize<'de> for OperationsMovefileRequest
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<&OperationsMovefileRequest> for OperationsMovefileRequest
impl From<&OperationsMovefileRequest> for OperationsMovefileRequest
Source§fn from(value: &OperationsMovefileRequest) -> Self
fn from(value: &OperationsMovefileRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsMovefileRequest
impl RefUnwindSafe for OperationsMovefileRequest
impl Send for OperationsMovefileRequest
impl Sync for OperationsMovefileRequest
impl Unpin for OperationsMovefileRequest
impl UnsafeUnpin for OperationsMovefileRequest
impl UnwindSafe for OperationsMovefileRequest
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