pub struct OperationsCopyurlRequest {
pub async_: Option<bool>,
pub auto_filename: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub remote: Option<String>,
pub url: Option<String>,
}Expand description
OperationsCopyurlRequest
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"
},
"autoFilename": {
"description": "Set to true to derive the destination filename from
the URL.",
"type": "boolean"
},
"fs": {
"description": "Remote name or path that will receive the
downloaded file, e.g. `drive:`.",
"type": "string"
},
"remote": {
"description": "Destination path within `fs` where the fetched
object will be stored.",
"type": "string"
},
"url": {
"description": "Source URL to fetch the object from.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
auto_filename: Option<bool>Set to true to derive the destination filename from the URL.
fs: Option<String>Remote name or path that will receive the downloaded file, e.g.
drive:.
group: Option<String>Assign the request to a custom stats group.
remote: Option<String>Destination path within fs where the fetched object will be
stored.
url: Option<String>Source URL to fetch the object from.
Trait Implementations§
Source§impl Clone for OperationsCopyurlRequest
impl Clone for OperationsCopyurlRequest
Source§fn clone(&self) -> OperationsCopyurlRequest
fn clone(&self) -> OperationsCopyurlRequest
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 OperationsCopyurlRequest
impl Debug for OperationsCopyurlRequest
Source§impl Default for OperationsCopyurlRequest
impl Default for OperationsCopyurlRequest
Source§impl<'de> Deserialize<'de> for OperationsCopyurlRequest
impl<'de> Deserialize<'de> for OperationsCopyurlRequest
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<&OperationsCopyurlRequest> for OperationsCopyurlRequest
impl From<&OperationsCopyurlRequest> for OperationsCopyurlRequest
Source§fn from(value: &OperationsCopyurlRequest) -> Self
fn from(value: &OperationsCopyurlRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsCopyurlRequest
impl RefUnwindSafe for OperationsCopyurlRequest
impl Send for OperationsCopyurlRequest
impl Sync for OperationsCopyurlRequest
impl Unpin for OperationsCopyurlRequest
impl UnsafeUnpin for OperationsCopyurlRequest
impl UnwindSafe for OperationsCopyurlRequest
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