pub struct Entry { /* private fields */ }
Expand description
Metadata about a single object (storage or stream) in a compound file.
Implementations§
source§impl Entry
impl Entry
sourcepub fn is_stream(&self) -> bool
pub fn is_stream(&self) -> bool
Returns whether this entry is for a stream object (i.e. a “file” within the compound file).
sourcepub fn is_storage(&self) -> bool
pub fn is_storage(&self) -> bool
Returns whether this entry is for a storage object (i.e. a “directory” within the compound file), either the root or a nested storage.
sourcepub fn is_root(&self) -> bool
pub fn is_root(&self) -> bool
Returns whether this entry is specifically for the root storage object of the compound file.
sourcepub fn clsid(&self) -> &Uuid
pub fn clsid(&self) -> &Uuid
Returns the CLSID (that is, the object class GUID) for this object. This will always be all zeros for stream objects.
sourcepub fn state_bits(&self) -> u32
pub fn state_bits(&self) -> u32
Returns the user-defined bitflags set for this object.
sourcepub fn created(&self) -> SystemTime
pub fn created(&self) -> SystemTime
Returns the time when the object that this entry represents was created.
sourcepub fn modified(&self) -> SystemTime
pub fn modified(&self) -> SystemTime
Returns the time when the object that this entry represents was last modified.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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