pub struct FileRecord {Show 14 fields
pub file_id: FileId,
pub source_id: SourceId,
pub original_path: String,
pub canonical_path: String,
pub display_path: String,
pub extension: Option<String>,
pub file_size_bytes: u64,
pub modified_at: Option<String>,
pub platform_file_key: Option<String>,
pub content_hash: Option<String>,
pub hash_algorithm: Option<String>,
pub file_status: FileStatus,
pub last_seen_at: String,
pub last_indexed_at: Option<String>,
}Expand description
A cataloged file.
Fields§
§file_id: FileId§source_id: SourceId§original_path: String§canonical_path: String§display_path: String§extension: Option<String>§file_size_bytes: u64§modified_at: Option<String>§platform_file_key: Option<String>§content_hash: Option<String>§hash_algorithm: Option<String>§file_status: FileStatus§last_seen_at: String§last_indexed_at: Option<String>Trait Implementations§
Source§impl Clone for FileRecord
impl Clone for FileRecord
Source§fn clone(&self) -> FileRecord
fn clone(&self) -> FileRecord
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 moreAuto Trait Implementations§
impl Freeze for FileRecord
impl RefUnwindSafe for FileRecord
impl Send for FileRecord
impl Sync for FileRecord
impl Unpin for FileRecord
impl UnsafeUnpin for FileRecord
impl UnwindSafe for FileRecord
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