pub struct NewFolderConfiguration { /* private fields */ }Implementations§
Source§impl NewFolderConfiguration
impl NewFolderConfiguration
pub fn new(id: String, path: String) -> Self
pub fn id(self, id: String) -> Self
pub fn get_id(&self) -> &String
pub fn label(self, label: String) -> Self
pub fn get_label(&self) -> &Option<String>
pub fn filesystem_type(self, filesystem_type: FilesystemType) -> Self
pub fn get_filesystem_type(&self) -> &Option<FilesystemType>
pub fn path(self, path: String) -> Self
pub fn get_path(&self) -> &String
pub fn folder_type(self, folder_type: FolderType) -> Self
pub fn get_folder_type(&self) -> &Option<FolderType>
pub fn devices(self, devices: Vec<FolderDeviceConfiguration>) -> Self
pub fn get_devices(&self) -> &Option<Vec<FolderDeviceConfiguration>>
pub fn rescan_interval_s(self, rescan_interval_s: i64) -> Self
pub fn get_rescan_interval_s(&self) -> &Option<i64>
pub fn fs_watcher_enabled(self, fs_watcher_enabled: bool) -> Self
pub fn get_fs_watcher_enabled(&self) -> &Option<bool>
pub fn fs_watcher_delay_s(self, fs_watcher_delay_s: f64) -> Self
pub fn get_fs_watcher_delay_s(&self) -> &Option<f64>
pub fn fs_watcher_timeout_s(self, fs_watcher_timeout_s: f64) -> Self
pub fn get_fs_watcher_timeout_s(&self) -> &Option<f64>
pub fn ignore_perms(self, ignore_perms: bool) -> Self
pub fn get_ignore_perms(&self) -> &Option<bool>
pub fn auto_normalize(self, auto_normalize: bool) -> Self
pub fn get_auto_normalize(&self) -> &Option<bool>
pub fn min_disk_free(self, min_disk_free: Size) -> Self
pub fn get_min_disk_free(&self) -> &Option<Size>
pub fn versioning(self, versioning: VersioningConfiguration) -> Self
pub fn get_versioning(&self) -> &Option<VersioningConfiguration>
pub fn copiers(self, copiers: i64) -> Self
pub fn get_copiers(&self) -> &Option<i64>
pub fn puller_max_pending_ki_b(self, puller_max_pending_ki_b: i64) -> Self
pub fn get_puller_max_pending_ki_b(&self) -> &Option<i64>
pub fn hashers(self, hashers: i64) -> Self
pub fn get_hashers(&self) -> &Option<i64>
pub fn order(self, order: PullOrder) -> Self
pub fn get_order(&self) -> &Option<PullOrder>
pub fn ignore_delete(self, ignore_delete: bool) -> Self
pub fn get_ignore_delete(&self) -> &Option<bool>
pub fn scan_progress_interval_s(self, scan_progress_interval_s: i64) -> Self
pub fn get_scan_progress_interval_s(&self) -> &Option<i64>
pub fn puller_pause_s(self, puller_pause_s: i64) -> Self
pub fn get_puller_pause_s(&self) -> &Option<i64>
pub fn max_conflicts(self, max_conflicts: i64) -> Self
pub fn get_max_conflicts(&self) -> &Option<i64>
pub fn disable_sparse_files(self, disable_sparse_files: bool) -> Self
pub fn get_disable_sparse_files(&self) -> &Option<bool>
pub fn disable_temp_indexes(self, disable_temp_indexes: bool) -> Self
pub fn get_disable_temp_indexes(&self) -> &Option<bool>
pub fn paused(self, paused: bool) -> Self
pub fn get_paused(&self) -> &Option<bool>
pub fn weak_hash_threshold_pct(self, weak_hash_threshold_pct: i64) -> Self
pub fn get_weak_hash_threshold_pct(&self) -> &Option<i64>
pub fn marker_name(self, marker_name: String) -> Self
pub fn get_marker_name(&self) -> &Option<String>
pub fn copy_ownership_from_parent( self, copy_ownership_from_parent: bool, ) -> Self
pub fn get_copy_ownership_from_parent(&self) -> &Option<bool>
pub fn mod_time_window_s(self, mod_time_window_s: i64) -> Self
pub fn get_mod_time_window_s(&self) -> &Option<i64>
pub fn max_concurrent_writes(self, max_concurrent_writes: i64) -> Self
pub fn get_max_concurrent_writes(&self) -> &Option<i64>
pub fn disable_fsync(self, disable_fsync: bool) -> Self
pub fn get_disable_fsync(&self) -> &Option<bool>
pub fn block_pull_order(self, block_pull_order: BlockPullOrder) -> Self
pub fn get_block_pull_order(&self) -> &Option<BlockPullOrder>
pub fn copy_range_method(self, copy_range_method: CopyRangeMethod) -> Self
pub fn get_copy_range_method(&self) -> &Option<CopyRangeMethod>
pub fn case_sensitive_fs(self, case_sensitive_fs: bool) -> Self
pub fn get_case_sensitive_fs(&self) -> &Option<bool>
pub fn junctions_as_dirs(self, junctions_as_dirs: bool) -> Self
pub fn get_junctions_as_dirs(&self) -> &Option<bool>
pub fn sync_ownership(self, sync_ownership: bool) -> Self
pub fn get_sync_ownership(&self) -> &Option<bool>
pub fn send_ownership(self, send_ownership: bool) -> Self
pub fn get_send_ownership(&self) -> &Option<bool>
pub fn sync_xattrs(self, sync_xattrs: bool) -> Self
pub fn get_sync_xattrs(&self) -> &Option<bool>
pub fn send_xattrs(self, send_xattrs: bool) -> Self
pub fn get_send_xattrs(&self) -> &Option<bool>
pub fn xattr_filter(self, xattr_filter: XattrFilter) -> Self
pub fn get_xattr_filter(&self) -> &Option<XattrFilter>
Trait Implementations§
Source§impl Clone for NewFolderConfiguration
impl Clone for NewFolderConfiguration
Source§fn clone(&self) -> NewFolderConfiguration
fn clone(&self) -> NewFolderConfiguration
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewFolderConfiguration
impl Debug for NewFolderConfiguration
Source§impl From<FolderConfiguration> for NewFolderConfiguration
impl From<FolderConfiguration> for NewFolderConfiguration
Source§fn from(value: FolderConfiguration) -> Self
fn from(value: FolderConfiguration) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NewFolderConfiguration
impl PartialEq for NewFolderConfiguration
Source§impl Serialize for NewFolderConfiguration
impl Serialize for NewFolderConfiguration
impl StructuralPartialEq for NewFolderConfiguration
Auto Trait Implementations§
impl Freeze for NewFolderConfiguration
impl RefUnwindSafe for NewFolderConfiguration
impl Send for NewFolderConfiguration
impl Sync for NewFolderConfiguration
impl Unpin for NewFolderConfiguration
impl UnwindSafe for NewFolderConfiguration
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)