NewFolderConfiguration

Struct NewFolderConfiguration 

Source
pub struct NewFolderConfiguration { /* private fields */ }

Implementations§

Source§

impl NewFolderConfiguration

Source

pub fn new(id: String, path: String) -> Self

Source

pub fn id(self, id: String) -> Self

Source

pub fn get_id(&self) -> &String

Source

pub fn label(self, label: String) -> Self

Source

pub fn get_label(&self) -> &Option<String>

Source

pub fn filesystem_type(self, filesystem_type: FilesystemType) -> Self

Source

pub fn get_filesystem_type(&self) -> &Option<FilesystemType>

Source

pub fn path(self, path: String) -> Self

Source

pub fn get_path(&self) -> &String

Source

pub fn folder_type(self, folder_type: FolderType) -> Self

Source

pub fn get_folder_type(&self) -> &Option<FolderType>

Source

pub fn devices(self, devices: Vec<FolderDeviceConfiguration>) -> Self

Source

pub fn get_devices(&self) -> &Option<Vec<FolderDeviceConfiguration>>

Source

pub fn rescan_interval_s(self, rescan_interval_s: i64) -> Self

Source

pub fn get_rescan_interval_s(&self) -> &Option<i64>

Source

pub fn fs_watcher_enabled(self, fs_watcher_enabled: bool) -> Self

Source

pub fn get_fs_watcher_enabled(&self) -> &Option<bool>

Source

pub fn fs_watcher_delay_s(self, fs_watcher_delay_s: f64) -> Self

Source

pub fn get_fs_watcher_delay_s(&self) -> &Option<f64>

Source

pub fn fs_watcher_timeout_s(self, fs_watcher_timeout_s: f64) -> Self

Source

pub fn get_fs_watcher_timeout_s(&self) -> &Option<f64>

Source

pub fn ignore_perms(self, ignore_perms: bool) -> Self

Source

pub fn get_ignore_perms(&self) -> &Option<bool>

Source

pub fn auto_normalize(self, auto_normalize: bool) -> Self

Source

pub fn get_auto_normalize(&self) -> &Option<bool>

Source

pub fn min_disk_free(self, min_disk_free: Size) -> Self

Source

pub fn get_min_disk_free(&self) -> &Option<Size>

Source

pub fn versioning(self, versioning: VersioningConfiguration) -> Self

Source

pub fn get_versioning(&self) -> &Option<VersioningConfiguration>

Source

pub fn copiers(self, copiers: i64) -> Self

Source

pub fn get_copiers(&self) -> &Option<i64>

Source

pub fn puller_max_pending_ki_b(self, puller_max_pending_ki_b: i64) -> Self

Source

pub fn get_puller_max_pending_ki_b(&self) -> &Option<i64>

Source

pub fn hashers(self, hashers: i64) -> Self

Source

pub fn get_hashers(&self) -> &Option<i64>

Source

pub fn order(self, order: PullOrder) -> Self

Source

pub fn get_order(&self) -> &Option<PullOrder>

Source

pub fn ignore_delete(self, ignore_delete: bool) -> Self

Source

pub fn get_ignore_delete(&self) -> &Option<bool>

Source

pub fn scan_progress_interval_s(self, scan_progress_interval_s: i64) -> Self

Source

pub fn get_scan_progress_interval_s(&self) -> &Option<i64>

Source

pub fn puller_pause_s(self, puller_pause_s: i64) -> Self

Source

pub fn get_puller_pause_s(&self) -> &Option<i64>

Source

pub fn max_conflicts(self, max_conflicts: i64) -> Self

Source

pub fn get_max_conflicts(&self) -> &Option<i64>

Source

pub fn disable_sparse_files(self, disable_sparse_files: bool) -> Self

Source

pub fn get_disable_sparse_files(&self) -> &Option<bool>

Source

pub fn disable_temp_indexes(self, disable_temp_indexes: bool) -> Self

Source

pub fn get_disable_temp_indexes(&self) -> &Option<bool>

Source

pub fn paused(self, paused: bool) -> Self

Source

pub fn get_paused(&self) -> &Option<bool>

Source

pub fn weak_hash_threshold_pct(self, weak_hash_threshold_pct: i64) -> Self

Source

pub fn get_weak_hash_threshold_pct(&self) -> &Option<i64>

Source

pub fn marker_name(self, marker_name: String) -> Self

Source

pub fn get_marker_name(&self) -> &Option<String>

Source

pub fn copy_ownership_from_parent( self, copy_ownership_from_parent: bool, ) -> Self

Source

pub fn get_copy_ownership_from_parent(&self) -> &Option<bool>

Source

pub fn mod_time_window_s(self, mod_time_window_s: i64) -> Self

Source

pub fn get_mod_time_window_s(&self) -> &Option<i64>

Source

pub fn max_concurrent_writes(self, max_concurrent_writes: i64) -> Self

Source

pub fn get_max_concurrent_writes(&self) -> &Option<i64>

Source

pub fn disable_fsync(self, disable_fsync: bool) -> Self

Source

pub fn get_disable_fsync(&self) -> &Option<bool>

Source

pub fn block_pull_order(self, block_pull_order: BlockPullOrder) -> Self

Source

pub fn get_block_pull_order(&self) -> &Option<BlockPullOrder>

Source

pub fn copy_range_method(self, copy_range_method: CopyRangeMethod) -> Self

Source

pub fn get_copy_range_method(&self) -> &Option<CopyRangeMethod>

Source

pub fn case_sensitive_fs(self, case_sensitive_fs: bool) -> Self

Source

pub fn get_case_sensitive_fs(&self) -> &Option<bool>

Source

pub fn junctions_as_dirs(self, junctions_as_dirs: bool) -> Self

Source

pub fn get_junctions_as_dirs(&self) -> &Option<bool>

Source

pub fn sync_ownership(self, sync_ownership: bool) -> Self

Source

pub fn get_sync_ownership(&self) -> &Option<bool>

Source

pub fn send_ownership(self, send_ownership: bool) -> Self

Source

pub fn get_send_ownership(&self) -> &Option<bool>

Source

pub fn sync_xattrs(self, sync_xattrs: bool) -> Self

Source

pub fn get_sync_xattrs(&self) -> &Option<bool>

Source

pub fn send_xattrs(self, send_xattrs: bool) -> Self

Source

pub fn get_send_xattrs(&self) -> &Option<bool>

Source

pub fn xattr_filter(self, xattr_filter: XattrFilter) -> Self

Source

pub fn get_xattr_filter(&self) -> &Option<XattrFilter>

Trait Implementations§

Source§

impl Clone for NewFolderConfiguration

Source§

fn clone(&self) -> NewFolderConfiguration

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for NewFolderConfiguration

Source§

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

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

impl From<FolderConfiguration> for NewFolderConfiguration

Source§

fn from(value: FolderConfiguration) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for NewFolderConfiguration

Source§

fn eq(&self, other: &NewFolderConfiguration) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for NewFolderConfiguration

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
Source§

impl StructuralPartialEq for NewFolderConfiguration

Auto Trait Implementations§

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

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

§

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

Mutably borrows from an owned value. Read more
§

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

§

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
§

impl<T> From<T> for T

§

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
§

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

§

fn into(self) -> U

Calls U::from(self).

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

§

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

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

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

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

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

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

§

type Error = Infallible

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

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

Performs the conversion.
§

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

§

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

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

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> ErasedDestructor for T
where T: 'static,