pub struct OptionsSetRequest {Show 17 fields
pub async_: Option<bool>,
pub dlna: Map<String, Value>,
pub filter: Map<String, Value>,
pub ftp: Map<String, Value>,
pub group: Option<String>,
pub http: Map<String, Value>,
pub log: Map<String, Value>,
pub main: Map<String, Value>,
pub mount: Map<String, Value>,
pub nfs: Map<String, Value>,
pub proxy: Map<String, Value>,
pub rc: Map<String, Value>,
pub restic: Map<String, Value>,
pub s3: Map<String, Value>,
pub sftp: Map<String, Value>,
pub vfs: Map<String, Value>,
pub webdav: Map<String, Value>,
}Expand description
OptionsSetRequest
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"
},
"dlna": {
"description": "Overrides for the `dlna` option block.",
"type": "object",
"additionalProperties": true
},
"filter": {
"description": "Overrides for the `filter` option block.",
"type": "object",
"additionalProperties": true
},
"ftp": {
"description": "Overrides for the `ftp` option block.",
"type": "object",
"additionalProperties": true
},
"http": {
"description": "Overrides for the `http` option block.",
"type": "object",
"additionalProperties": true
},
"log": {
"description": "Overrides for the `log` option block.",
"type": "object",
"additionalProperties": true
},
"main": {
"description": "Overrides for the `main` option block.",
"type": "object",
"additionalProperties": true
},
"mount": {
"description": "Overrides for the `mount` option block.",
"type": "object",
"additionalProperties": true
},
"nfs": {
"description": "Overrides for the `nfs` option block.",
"type": "object",
"additionalProperties": true
},
"proxy": {
"description": "Overrides for the `proxy` option block.",
"type": "object",
"additionalProperties": true
},
"rc": {
"description": "Overrides for the `rc` option block.",
"type": "object",
"additionalProperties": true
},
"restic": {
"description": "Overrides for the `restic` option block.",
"type": "object",
"additionalProperties": true
},
"s3": {
"description": "Overrides for the `s3` option block.",
"type": "object",
"additionalProperties": true
},
"sftp": {
"description": "Overrides for the `sftp` option block.",
"type": "object",
"additionalProperties": true
},
"vfs": {
"description": "Overrides for the `vfs` option block.",
"type": "object",
"additionalProperties": true
},
"webdav": {
"description": "Overrides for the `webdav` option block.",
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": true
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
dlna: Map<String, Value>Overrides for the dlna option block.
filter: Map<String, Value>Overrides for the filter option block.
ftp: Map<String, Value>Overrides for the ftp option block.
group: Option<String>Assign the request to a custom stats group.
http: Map<String, Value>Overrides for the http option block.
log: Map<String, Value>Overrides for the log option block.
main: Map<String, Value>Overrides for the main option block.
mount: Map<String, Value>Overrides for the mount option block.
nfs: Map<String, Value>Overrides for the nfs option block.
proxy: Map<String, Value>Overrides for the proxy option block.
rc: Map<String, Value>Overrides for the rc option block.
restic: Map<String, Value>Overrides for the restic option block.
s3: Map<String, Value>Overrides for the s3 option block.
sftp: Map<String, Value>Overrides for the sftp option block.
vfs: Map<String, Value>Overrides for the vfs option block.
webdav: Map<String, Value>Overrides for the webdav option block.
Trait Implementations§
Source§impl Clone for OptionsSetRequest
impl Clone for OptionsSetRequest
Source§fn clone(&self) -> OptionsSetRequest
fn clone(&self) -> OptionsSetRequest
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 OptionsSetRequest
impl Debug for OptionsSetRequest
Source§impl Default for OptionsSetRequest
impl Default for OptionsSetRequest
Source§impl<'de> Deserialize<'de> for OptionsSetRequest
impl<'de> Deserialize<'de> for OptionsSetRequest
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<&OptionsSetRequest> for OptionsSetRequest
impl From<&OptionsSetRequest> for OptionsSetRequest
Source§fn from(value: &OptionsSetRequest) -> Self
fn from(value: &OptionsSetRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptionsSetRequest
impl RefUnwindSafe for OptionsSetRequest
impl Send for OptionsSetRequest
impl Sync for OptionsSetRequest
impl Unpin for OptionsSetRequest
impl UnsafeUnpin for OptionsSetRequest
impl UnwindSafe for OptionsSetRequest
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