Struct esl::FileMetadata
source · pub struct FileMetadata {
pub version: u32,
pub file_type: FileType,
pub author: String,
pub description: Vec<String>,
pub records: u32,
}
Fields§
§version: u32
§file_type: FileType
§description: Vec<String>
§records: u32
Trait Implementations§
source§impl Clone for FileMetadata
impl Clone for FileMetadata
source§fn clone(&self) -> FileMetadata
fn clone(&self) -> FileMetadata
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 FileMetadata
impl Debug for FileMetadata
source§impl PartialEq for FileMetadata
impl PartialEq for FileMetadata
source§fn eq(&self, other: &FileMetadata) -> bool
fn eq(&self, other: &FileMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl From<FileMetadata> for Field
impl From<FileMetadata> for Field
source§fn from(v: FileMetadata) -> Self
fn from(v: FileMetadata) -> Self
Converts to this type from the input type.
impl Eq for FileMetadata
impl StructuralEq for FileMetadata
impl StructuralPartialEq for FileMetadata
Auto Trait Implementations§
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnwindSafe for FileMetadata
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