# FileOperationDestination

## pub enum FileOperationDestination

A target for a file-store operation.

## Variants

### Path(String)

Place the result at this logical path. The operation fails if the path exists.

### FileRevisionRid(String)

Replace the file currently associated with this managed revision.

## Implementations

### impl FileOperationDestination

#### pub fn path(path: impl Into<String>) -> Self

#### pub fn file_revision_rid(file_revision_rid: impl Into<String>) -> Self

## Trait implementations

### impl From<String> for FileOperationDestination

#### fn from(path: String) -> Self

### impl From<&str> for FileOperationDestination

#### fn from(path: &str) -> 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), [`StructuralPartialEq`](https://doc.rust-lang.org/1.98.1/core/marker/trait.StructuralPartialEq.html), [`PartialEq`](https://doc.rust-lang.org/1.98.1/core/cmp/trait.PartialEq.html), [`Eq`](https://doc.rust-lang.org/1.98.1/core/cmp/trait.Eq.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)
