OptionsLocalResponseConfig

Struct OptionsLocalResponseConfig 

Source
pub struct OptionsLocalResponseConfig {
Show 105 fields pub ask_password: bool, pub auto_confirm: bool, pub backup_dir: String, pub bind_addr: String, pub buffer_size: f64, pub bw_limit: String, pub bw_limit_file: String, pub ca_cert: Vec<String>, pub check_first: bool, pub check_sum: bool, pub checkers: f64, pub client_cert: String, pub client_key: String, pub compare_dest: Vec<String>, pub connect_timeout: f64, pub cookie: bool, pub copy_dest: Vec<String>, pub cutoff_mode: String, pub data_rate_unit: String, pub default_time: String, pub delete_mode: f64, pub disable_features: Option<String>, pub disable_http2: bool, pub disable_http_keep_alives: bool, pub download_headers: Option<String>, pub dry_run: bool, pub dump: String, pub error_on_no_transfer: bool, pub expect_continue_timeout: f64, pub fix_case: bool, pub fs_cache_expire_duration: f64, pub fs_cache_expire_interval: f64, pub headers: Option<String>, pub human_readable: bool, pub ignore_case_sync: bool, pub ignore_checksum: bool, pub ignore_errors: bool, pub ignore_existing: bool, pub ignore_size: bool, pub ignore_times: bool, pub immutable: bool, pub inplace: bool, pub insecure_skip_verify: bool, pub interactive: bool, pub kv_lock_time: f64, pub links: bool, pub log_level: String, pub low_level_retries: f64, pub max_backlog: f64, pub max_buffer_memory: f64, pub max_delete: f64, pub max_delete_size: f64, pub max_depth: f64, pub max_duration: f64, pub max_stats_groups: f64, pub max_transfer: f64, pub metadata: bool, pub metadata_mapper: Option<String>, pub metadata_set: Option<String>, pub modify_window: f64, pub multi_thread_chunk_size: f64, pub multi_thread_cutoff: f64, pub multi_thread_set: bool, pub multi_thread_streams: f64, pub multi_thread_write_buffer_size: f64, pub no_check_dest: bool, pub no_console: bool, pub no_gzip: bool, pub no_traverse: bool, pub no_unicode_normalization: bool, pub no_update_dir_mod_time: bool, pub no_update_mod_time: bool, pub order_by: String, pub partial_suffix: String, pub password_command: Option<String>, pub progress: bool, pub progress_terminal_title: bool, pub refresh_times: bool, pub retries: f64, pub retries_interval: f64, pub server_side_across_configs: bool, pub size_only: bool, pub stats_file_name_length: f64, pub stats_log_level: String, pub stats_one_line: bool, pub stats_one_line_date: bool, pub stats_one_line_date_format: String, pub streaming_upload_cutoff: f64, pub suffix: String, pub suffix_keep_extension: bool, pub terminal_color_mode: String, pub timeout: f64, pub tps_limit: f64, pub tps_limit_burst: f64, pub track_renames: bool, pub track_renames_strategy: String, pub traffic_class: f64, pub transfers: f64, pub update_older: bool, pub upload_headers: Option<String>, pub use_json_log: bool, pub use_list_r: bool, pub use_mmap: bool, pub use_server_mod_time: bool, pub user_agent: String,
}
Expand description

OptionsLocalResponseConfig

JSON schema
{
 "type": "object",
 "required": [
   "AskPassword",
   "AutoConfirm",
   "BackupDir",
   "BindAddr",
   "BufferSize",
   "BwLimit",
   "BwLimitFile",
   "CaCert",
   "CheckFirst",
   "CheckSum",
   "Checkers",
   "ClientCert",
   "ClientKey",
   "CompareDest",
   "ConnectTimeout",
   "Cookie",
   "CopyDest",
   "CutoffMode",
   "DataRateUnit",
   "DefaultTime",
   "DeleteMode",
   "DisableFeatures",
   "DisableHTTP2",
   "DisableHTTPKeepAlives",
   "DownloadHeaders",
   "DryRun",
   "Dump",
   "ErrorOnNoTransfer",
   "ExpectContinueTimeout",
   "FixCase",
   "FsCacheExpireDuration",
   "FsCacheExpireInterval",
   "Headers",
   "HumanReadable",
   "IgnoreCaseSync",
   "IgnoreChecksum",
   "IgnoreErrors",
   "IgnoreExisting",
   "IgnoreSize",
   "IgnoreTimes",
   "Immutable",
   "Inplace",
   "InsecureSkipVerify",
   "Interactive",
   "KvLockTime",
   "Links",
   "LogLevel",
   "LowLevelRetries",
   "MaxBacklog",
   "MaxBufferMemory",
   "MaxDelete",
   "MaxDeleteSize",
   "MaxDepth",
   "MaxDuration",
   "MaxStatsGroups",
   "MaxTransfer",
   "Metadata",
   "MetadataMapper",
   "MetadataSet",
   "ModifyWindow",
   "MultiThreadChunkSize",
   "MultiThreadCutoff",
   "MultiThreadSet",
   "MultiThreadStreams",
   "MultiThreadWriteBufferSize",
   "NoCheckDest",
   "NoConsole",
   "NoGzip",
   "NoTraverse",
   "NoUnicodeNormalization",
   "NoUpdateDirModTime",
   "NoUpdateModTime",
   "OrderBy",
   "PartialSuffix",
   "PasswordCommand",
   "Progress",
   "ProgressTerminalTitle",
   "RefreshTimes",
   "Retries",
   "RetriesInterval",
   "ServerSideAcrossConfigs",
   "SizeOnly",
   "StatsFileNameLength",
   "StatsLogLevel",
   "StatsOneLine",
   "StatsOneLineDate",
   "StatsOneLineDateFormat",
   "StreamingUploadCutoff",
   "Suffix",
   "SuffixKeepExtension",
   "TPSLimit",
   "TPSLimitBurst",
   "TerminalColorMode",
   "Timeout",
   "TrackRenames",
   "TrackRenamesStrategy",
   "TrafficClass",
   "Transfers",
   "UpdateOlder",
   "UploadHeaders",
   "UseJSONLog",
   "UseListR",
   "UseMmap",
   "UseServerModTime",
   "UserAgent"
 ],
 "properties": {
   "AskPassword": {
     "type": "boolean"
   },
   "AutoConfirm": {
     "type": "boolean"
   },
   "BackupDir": {
     "type": "string"
   },
   "BindAddr": {
     "type": "string"
   },
   "BufferSize": {
     "type": "number"
   },
   "BwLimit": {
     "type": "string"
   },
   "BwLimitFile": {
     "type": "string"
   },
   "CaCert": {
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "CheckFirst": {
     "type": "boolean"
   },
   "CheckSum": {
     "type": "boolean"
   },
   "Checkers": {
     "type": "number"
   },
   "ClientCert": {
     "type": "string"
   },
   "ClientKey": {
     "type": "string"
   },
   "CompareDest": {
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "ConnectTimeout": {
     "type": "number"
   },
   "Cookie": {
     "type": "boolean"
   },
   "CopyDest": {
     "type": "array",
     "items": {
       "type": "string"
     }
   },
   "CutoffMode": {
     "type": "string"
   },
   "DataRateUnit": {
     "type": "string"
   },
   "DefaultTime": {
     "type": "string"
   },
   "DeleteMode": {
     "type": "number"
   },
   "DisableFeatures": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "DisableHTTP2": {
     "type": "boolean"
   },
   "DisableHTTPKeepAlives": {
     "type": "boolean"
   },
   "DownloadHeaders": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "DryRun": {
     "type": "boolean"
   },
   "Dump": {
     "type": "string"
   },
   "ErrorOnNoTransfer": {
     "type": "boolean"
   },
   "ExpectContinueTimeout": {
     "type": "number"
   },
   "FixCase": {
     "type": "boolean"
   },
   "FsCacheExpireDuration": {
     "type": "number"
   },
   "FsCacheExpireInterval": {
     "type": "number"
   },
   "Headers": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "HumanReadable": {
     "type": "boolean"
   },
   "IgnoreCaseSync": {
     "type": "boolean"
   },
   "IgnoreChecksum": {
     "type": "boolean"
   },
   "IgnoreErrors": {
     "type": "boolean"
   },
   "IgnoreExisting": {
     "type": "boolean"
   },
   "IgnoreSize": {
     "type": "boolean"
   },
   "IgnoreTimes": {
     "type": "boolean"
   },
   "Immutable": {
     "type": "boolean"
   },
   "Inplace": {
     "type": "boolean"
   },
   "InsecureSkipVerify": {
     "type": "boolean"
   },
   "Interactive": {
     "type": "boolean"
   },
   "KvLockTime": {
     "type": "number"
   },
   "Links": {
     "type": "boolean"
   },
   "LogLevel": {
     "type": "string"
   },
   "LowLevelRetries": {
     "type": "number"
   },
   "MaxBacklog": {
     "type": "number"
   },
   "MaxBufferMemory": {
     "type": "number"
   },
   "MaxDelete": {
     "type": "number"
   },
   "MaxDeleteSize": {
     "type": "number"
   },
   "MaxDepth": {
     "type": "number"
   },
   "MaxDuration": {
     "type": "number"
   },
   "MaxStatsGroups": {
     "type": "number"
   },
   "MaxTransfer": {
     "type": "number"
   },
   "Metadata": {
     "type": "boolean"
   },
   "MetadataMapper": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "MetadataSet": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "ModifyWindow": {
     "type": "number"
   },
   "MultiThreadChunkSize": {
     "type": "number"
   },
   "MultiThreadCutoff": {
     "type": "number"
   },
   "MultiThreadSet": {
     "type": "boolean"
   },
   "MultiThreadStreams": {
     "type": "number"
   },
   "MultiThreadWriteBufferSize": {
     "type": "number"
   },
   "NoCheckDest": {
     "type": "boolean"
   },
   "NoConsole": {
     "type": "boolean"
   },
   "NoGzip": {
     "type": "boolean"
   },
   "NoTraverse": {
     "type": "boolean"
   },
   "NoUnicodeNormalization": {
     "type": "boolean"
   },
   "NoUpdateDirModTime": {
     "type": "boolean"
   },
   "NoUpdateModTime": {
     "type": "boolean"
   },
   "OrderBy": {
     "type": "string"
   },
   "PartialSuffix": {
     "type": "string"
   },
   "PasswordCommand": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "Progress": {
     "type": "boolean"
   },
   "ProgressTerminalTitle": {
     "type": "boolean"
   },
   "RefreshTimes": {
     "type": "boolean"
   },
   "Retries": {
     "type": "number"
   },
   "RetriesInterval": {
     "type": "number"
   },
   "ServerSideAcrossConfigs": {
     "type": "boolean"
   },
   "SizeOnly": {
     "type": "boolean"
   },
   "StatsFileNameLength": {
     "type": "number"
   },
   "StatsLogLevel": {
     "type": "string"
   },
   "StatsOneLine": {
     "type": "boolean"
   },
   "StatsOneLineDate": {
     "type": "boolean"
   },
   "StatsOneLineDateFormat": {
     "type": "string"
   },
   "StreamingUploadCutoff": {
     "type": "number"
   },
   "Suffix": {
     "type": "string"
   },
   "SuffixKeepExtension": {
     "type": "boolean"
   },
   "TPSLimit": {
     "type": "number"
   },
   "TPSLimitBurst": {
     "type": "number"
   },
   "TerminalColorMode": {
     "type": "string"
   },
   "Timeout": {
     "type": "number"
   },
   "TrackRenames": {
     "type": "boolean"
   },
   "TrackRenamesStrategy": {
     "type": "string"
   },
   "TrafficClass": {
     "type": "number"
   },
   "Transfers": {
     "type": "number"
   },
   "UpdateOlder": {
     "type": "boolean"
   },
   "UploadHeaders": {
     "type": [
       "string",
       "null"
     ],
     "format": "null"
   },
   "UseJSONLog": {
     "type": "boolean"
   },
   "UseListR": {
     "type": "boolean"
   },
   "UseMmap": {
     "type": "boolean"
   },
   "UseServerModTime": {
     "type": "boolean"
   },
   "UserAgent": {
     "type": "string"
   }
 }
}

Fields§

§ask_password: bool§auto_confirm: bool§backup_dir: String§bind_addr: String§buffer_size: f64§bw_limit: String§bw_limit_file: String§ca_cert: Vec<String>§check_first: bool§check_sum: bool§checkers: f64§client_cert: String§client_key: String§compare_dest: Vec<String>§connect_timeout: f64§cookie: bool§copy_dest: Vec<String>§cutoff_mode: String§data_rate_unit: String§default_time: String§delete_mode: f64§disable_features: Option<String>§disable_http2: bool§disable_http_keep_alives: bool§download_headers: Option<String>§dry_run: bool§dump: String§error_on_no_transfer: bool§expect_continue_timeout: f64§fix_case: bool§fs_cache_expire_duration: f64§fs_cache_expire_interval: f64§headers: Option<String>§human_readable: bool§ignore_case_sync: bool§ignore_checksum: bool§ignore_errors: bool§ignore_existing: bool§ignore_size: bool§ignore_times: bool§immutable: bool§inplace: bool§insecure_skip_verify: bool§interactive: bool§kv_lock_time: f64§links: bool§log_level: String§low_level_retries: f64§max_backlog: f64§max_buffer_memory: f64§max_delete: f64§max_delete_size: f64§max_depth: f64§max_duration: f64§max_stats_groups: f64§max_transfer: f64§metadata: bool§metadata_mapper: Option<String>§metadata_set: Option<String>§modify_window: f64§multi_thread_chunk_size: f64§multi_thread_cutoff: f64§multi_thread_set: bool§multi_thread_streams: f64§multi_thread_write_buffer_size: f64§no_check_dest: bool§no_console: bool§no_gzip: bool§no_traverse: bool§no_unicode_normalization: bool§no_update_dir_mod_time: bool§no_update_mod_time: bool§order_by: String§partial_suffix: String§password_command: Option<String>§progress: bool§progress_terminal_title: bool§refresh_times: bool§retries: f64§retries_interval: f64§server_side_across_configs: bool§size_only: bool§stats_file_name_length: f64§stats_log_level: String§stats_one_line: bool§stats_one_line_date: bool§stats_one_line_date_format: String§streaming_upload_cutoff: f64§suffix: String§suffix_keep_extension: bool§terminal_color_mode: String§timeout: f64§tps_limit: f64§tps_limit_burst: f64§track_renames: bool§track_renames_strategy: String§traffic_class: f64§transfers: f64§update_older: bool§upload_headers: Option<String>§use_json_log: bool§use_list_r: bool§use_mmap: bool§use_server_mod_time: bool§user_agent: String

Trait Implementations§

Source§

impl Clone for OptionsLocalResponseConfig

Source§

fn clone(&self) -> OptionsLocalResponseConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionsLocalResponseConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OptionsLocalResponseConfig

Source§

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<&OptionsLocalResponseConfig> for OptionsLocalResponseConfig

Source§

fn from(value: &OptionsLocalResponseConfig) -> Self

Converts to this type from the input type.
Source§

impl Serialize for OptionsLocalResponseConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,