pub enum FolderSyncMethod {
Full,
UploadOnly,
DownloadOnly,
}Variants§
Full
Upload folder-only assets and download album-only assets.
UploadOnly
Only upload assets found in the folder.
DownloadOnly
Only download assets found in the album.
Trait Implementations§
Source§impl Clone for FolderSyncMethod
impl Clone for FolderSyncMethod
Source§fn clone(&self) -> FolderSyncMethod
fn clone(&self) -> FolderSyncMethod
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 FolderSyncMethod
impl Debug for FolderSyncMethod
Source§impl Default for FolderSyncMethod
impl Default for FolderSyncMethod
Source§fn default() -> FolderSyncMethod
fn default() -> FolderSyncMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FolderSyncMethod
impl<'de> Deserialize<'de> for FolderSyncMethod
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
impl Eq for FolderSyncMethod
Source§impl PartialEq for FolderSyncMethod
impl PartialEq for FolderSyncMethod
Source§fn eq(&self, other: &FolderSyncMethod) -> bool
fn eq(&self, other: &FolderSyncMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FolderSyncMethod
impl Serialize for FolderSyncMethod
impl StructuralPartialEq for FolderSyncMethod
Auto Trait Implementations§
impl Freeze for FolderSyncMethod
impl RefUnwindSafe for FolderSyncMethod
impl Send for FolderSyncMethod
impl Sync for FolderSyncMethod
impl Unpin for FolderSyncMethod
impl UnsafeUnpin for FolderSyncMethod
impl UnwindSafe for FolderSyncMethod
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
§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.