pub struct Metadata {
pub node: Node,
pub file_type: FileType,
pub link_count: u64,
pub size: FileSize,
pub times: Times,
pub first_dir_entry: Option<DirEntryIndex>,
pub last_dir_entry: Option<DirEntryIndex>,
}
Fields§
§node: Node
§file_type: FileType
§link_count: u64
§size: FileSize
§times: Times
§first_dir_entry: Option<DirEntryIndex>
§last_dir_entry: Option<DirEntryIndex>
Trait Implementations§
source§impl BoundedStorable for Metadata
impl BoundedStorable for Metadata
source§const IS_FIXED_SIZE: bool = true
const IS_FIXED_SIZE: bool = true
True if all the values of this type have fixed-width encoding.
Some data structures, such as stable vector, can take
advantage of fixed size to avoid storing an explicit entry
size. Read more
source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
Auto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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