LogicalFile#

pub struct LogicalFile#

A file at a path in a drive, along with its current revision.

Implementations#

impl LogicalFile
pub fn managed_file_rid(&self) -> Option<&str>#

RID identifying this managed logical file, stable across revisions and moves.

Virtual-drive files have provider-specific identities rather than Nominal file RIDs, so this is None for them.

pub fn path(&self) -> &str#

Drive-relative path.

pub fn state(&self) -> FileState#
pub fn size_bytes(&self) -> u64#
pub fn created_at(&self) -> Option<DateTime<Utc>>#
pub fn created_by(&self) -> Option<&str>#

RID of the user who created the file.

pub fn current_revision_rid(&self) -> Option<&str>#

RID of the file’s current revision, when the file is backed by a managed (not virtual) revision.

Trait implementations#

Derived: Debug, Clone

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe