Struct cfb::Entry
[−]
[src]
pub struct Entry { /* fields omitted */ }Metadata about a single object (storage or stream) in a compound file.
Methods
impl Entry[src]
fn name(&self) -> &str[src]
Returns the name of the object that this entry represents.
fn path(&self) -> &Path[src]
Returns the full path to the object that this entry represents.
fn is_stream(&self) -> bool[src]
Returns whether this entry is for a stream object (i.e. a "file" within the compound file).
fn is_storage(&self) -> bool[src]
Returns whether this entry is for a storage object (i.e. a "directory" within the compound file), either the root or a nested storage.
fn is_root(&self) -> bool[src]
Returns whether this entry is specifically for the root storage object of the compound file.
fn len(&self) -> u64[src]
Returns the size, in bytes, of the stream that this metadata is for.
fn clsid(&self) -> &Uuid[src]
Returns the CLSID (that is, the object class GUID) for this object. This will always be all zeros for stream objects.
fn state_bits(&self) -> u32[src]
Returns the user-defined bitflags set for this object.
fn created(&self) -> SystemTime[src]
Returns the time when the object that this entry represents was created.
fn modified(&self) -> SystemTime[src]
Returns the time when the object that this entry represents was last modified.