Enum cloud_filter::root::ProtectionMode
source · pub enum ProtectionMode {
Personal,
Unknown,
}
Expand description
The protection mode of the sync root registration.
Variants§
Personal
The sync root should only contain personal files, not encrypted or business related files.
Unknown
The sync root can contain any type of file.
Trait Implementations§
source§impl Clone for ProtectionMode
impl Clone for ProtectionMode
source§fn clone(&self) -> ProtectionMode
fn clone(&self) -> ProtectionMode
Returns a copy of the value. Read more
1.0.0 · 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 ProtectionMode
impl Debug for ProtectionMode
source§impl From<ProtectionMode> for StorageProviderProtectionMode
impl From<ProtectionMode> for StorageProviderProtectionMode
source§fn from(mode: ProtectionMode) -> Self
fn from(mode: ProtectionMode) -> Self
Converts to this type from the input type.
source§impl From<StorageProviderProtectionMode> for ProtectionMode
impl From<StorageProviderProtectionMode> for ProtectionMode
source§impl PartialEq for ProtectionMode
impl PartialEq for ProtectionMode
source§fn eq(&self, other: &ProtectionMode) -> bool
fn eq(&self, other: &ProtectionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProtectionMode
impl Eq for ProtectionMode
impl StructuralPartialEq for ProtectionMode
Auto Trait Implementations§
impl Freeze for ProtectionMode
impl RefUnwindSafe for ProtectionMode
impl Send for ProtectionMode
impl Sync for ProtectionMode
impl Unpin for ProtectionMode
impl UnwindSafe for ProtectionMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)