#[non_exhaustive]pub enum AnyStoreFileMetadata {
Http(HttpStoreFileMetadata),
Local(LocalStoreFileMetadata),
Noop(NoopStoreFileMetadata),
PCloud(PCloudStoreFileMetadata),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Http(HttpStoreFileMetadata)
Local(LocalStoreFileMetadata)
Noop(NoopStoreFileMetadata)
PCloud(PCloudStoreFileMetadata)
Trait Implementations§
Source§impl Clone for AnyStoreFileMetadata
impl Clone for AnyStoreFileMetadata
Source§fn clone(&self) -> AnyStoreFileMetadata
fn clone(&self) -> AnyStoreFileMetadata
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 AnyStoreFileMetadata
impl Debug for AnyStoreFileMetadata
Source§impl From<HttpStoreFileMetadata> for AnyStoreFileMetadata
impl From<HttpStoreFileMetadata> for AnyStoreFileMetadata
Source§fn from(value: HttpStoreFileMetadata) -> Self
fn from(value: HttpStoreFileMetadata) -> Self
Converts to this type from the input type.
Source§impl From<LocalStoreFileMetadata> for AnyStoreFileMetadata
impl From<LocalStoreFileMetadata> for AnyStoreFileMetadata
Source§fn from(value: LocalStoreFileMetadata) -> Self
fn from(value: LocalStoreFileMetadata) -> Self
Converts to this type from the input type.
Source§impl From<NoopStoreFileMetadata> for AnyStoreFileMetadata
impl From<NoopStoreFileMetadata> for AnyStoreFileMetadata
Source§fn from(value: NoopStoreFileMetadata) -> Self
fn from(value: NoopStoreFileMetadata) -> Self
Converts to this type from the input type.
Source§impl From<PCloudStoreFileMetadata> for AnyStoreFileMetadata
impl From<PCloudStoreFileMetadata> for AnyStoreFileMetadata
Source§fn from(value: PCloudStoreFileMetadata) -> Self
fn from(value: PCloudStoreFileMetadata) -> Self
Converts to this type from the input type.
Source§impl StoreMetadata for AnyStoreFileMetadata
impl StoreMetadata for AnyStoreFileMetadata
Source§fn content_type(&self) -> Option<&str>
fn content_type(&self) -> Option<&str>
Returns the content type of the file
Auto Trait Implementations§
impl Freeze for AnyStoreFileMetadata
impl RefUnwindSafe for AnyStoreFileMetadata
impl Send for AnyStoreFileMetadata
impl Sync for AnyStoreFileMetadata
impl Unpin for AnyStoreFileMetadata
impl UnwindSafe for AnyStoreFileMetadata
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