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, Clone, StructuralPartialEq, PartialEq, Eq

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