FileRevision#

pub struct FileRevision#

A single revision in a managed file’s history.

Implementations#

impl FileRevision
pub fn file_revision_rid(&self) -> &str#
pub fn file_rid(&self) -> &str#
pub fn path(&self) -> &str#
pub fn size_bytes(&self) -> u64#
pub fn created_at(&self) -> Option<DateTime<Utc>>#
pub fn created_by(&self) -> Option<&str>#

Trait implementations#

impl TryFrom<ManagedFileRevision> for FileRevision
type Error = Error
fn try_from(revision: ManagedFileRevision) -> Result<Self>

Derived: Debug, Clone

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