pub struct UnsyncFileMeta {
pub filename: String,
pub mime: String,
pub extra: HashMap<String, Value>,
pub data: FileMetaContent,
}Available on crate feature
importer only.Expand description
Represents a file metadata that is not yet synced to the database.
Fields§
§filename: String§mime: String§extra: HashMap<String, Value>§data: FileMetaContentImplementations§
Trait Implementations§
Source§impl Clone for UnsyncFileMeta
impl Clone for UnsyncFileMeta
Source§fn clone(&self) -> UnsyncFileMeta
fn clone(&self) -> UnsyncFileMeta
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 UnsyncFileMeta
impl Debug for UnsyncFileMeta
impl Eq for UnsyncFileMeta
Source§impl Hash for UnsyncFileMeta
impl Hash for UnsyncFileMeta
Auto Trait Implementations§
impl Freeze for UnsyncFileMeta
impl RefUnwindSafe for UnsyncFileMeta
impl Send for UnsyncFileMeta
impl Sync for UnsyncFileMeta
impl Unpin for UnsyncFileMeta
impl UnsafeUnpin for UnsyncFileMeta
impl UnwindSafe for UnsyncFileMeta
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<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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.