# 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`](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html), [`Clone`](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html)

**Auto traits**: [`Send`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Send.html), [`Sync`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Sync.html), [`Unpin`](https://doc.rust-lang.org/1.98.1/core/marker/trait.Unpin.html), [`UnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.UnwindSafe.html), [`RefUnwindSafe`](https://doc.rust-lang.org/1.98.1/core/panic/unwind_safe/trait.RefUnwindSafe.html)
